<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: sw::Button类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classsw_1_1_button.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="classsw_1_1_button-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">sw::Button类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>按钮  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_button_8h_source.html">Button.h</a>&gt;</code></p>
<div class="dynheader">
类 sw::Button 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsw_1_1_button.png" usemap="#sw::Button_map" alt=""/>
  <map id="sw::Button_map" name="sw::Button_map">
<area href="classsw_1_1_button_base.html" title="窗口类名为BUTTON的控件类型的基类" alt="sw::ButtonBase" shape="rect" coords="106,168,202,192"/>
<area href="classsw_1_1_control.html" title="控件" alt="sw::Control" shape="rect" coords="106,112,202,136"/>
<area href="classsw_1_1_u_i_element.html" title="表示界面中的元素" alt="sw::UIElement" shape="rect" coords="106,56,202,80"/>
<area href="classsw_1_1_wnd_base.html" title="表示一个Windows窗口，是所有窗口和控件的基类" alt="sw::WndBase" shape="rect" coords="0,0,96,24"/>
<area href="classsw_1_1_i_layout.html" title="布局接口" alt="sw::ILayout" shape="rect" coords="106,0,202,24"/>
<area href="classsw_1_1_i_tag.html" title="Tag接口" alt="sw::ITag" shape="rect" coords="212,0,308,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aafd2e523e98d68c45e451d93f22ead13" id="r_aafd2e523e98d68c45e451d93f22ead13"><td class="memItemLeft" align="right" valign="top"><a id="aafd2e523e98d68c45e451d93f22ead13" name="aafd2e523e98d68c45e451d93f22ead13"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Button</b> ()</td></tr>
<tr class="memdesc:aafd2e523e98d68c45e451d93f22ead13"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化按钮 <br /></td></tr>
<tr class="separator:aafd2e523e98d68c45e451d93f22ead13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsw_1_1_button_base"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classsw_1_1_button_base')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classsw_1_1_button_base.html">sw::ButtonBase</a></td></tr>
<tr class="memitem:a2b521a4eb6233774cf15ece47c0b5d68 inherit pub_methods_classsw_1_1_button_base" id="r_a2b521a4eb6233774cf15ece47c0b5d68"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">virtual</a>&#160;</td><td class="memItemRight" valign="bottom"><b>~ButtonBase</b> ()=0</td></tr>
<tr class="memdesc:a2b521a4eb6233774cf15ece47c0b5d68 inherit pub_methods_classsw_1_1_button_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数，这里用纯虚函数使该类成为抽象类 <br /></td></tr>
<tr class="separator:a2b521a4eb6233774cf15ece47c0b5d68 inherit pub_methods_classsw_1_1_button_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsw_1_1_control"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classsw_1_1_control')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classsw_1_1_control.html">sw::Control</a></td></tr>
<tr class="memitem:ab2c00cbb6c776111096e9711c19735e7 inherit pub_methods_classsw_1_1_control" id="r_ab2c00cbb6c776111096e9711c19735e7"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">virtual</a>&#160;</td><td class="memItemRight" valign="bottom"><b>~Control</b> ()=0</td></tr>
<tr class="memdesc:ab2c00cbb6c776111096e9711c19735e7 inherit pub_methods_classsw_1_1_control"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数，这里用纯虚函数使该类成为抽象类 <br /></td></tr>
<tr class="separator:ab2c00cbb6c776111096e9711c19735e7 inherit pub_methods_classsw_1_1_control"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsw_1_1_u_i_element"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classsw_1_1_u_i_element')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classsw_1_1_u_i_element.html">sw::UIElement</a></td></tr>
<tr class="memitem:acbe28513919da89bf3f9a5102d6353c3 inherit pub_methods_classsw_1_1_u_i_element" id="r_acbe28513919da89bf3f9a5102d6353c3"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">virtual</a>&#160;</td><td class="memItemRight" valign="bottom"><b>~UIElement</b> ()=0</td></tr>
<tr class="memdesc:acbe28513919da89bf3f9a5102d6353c3 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数，这里用纯虚函数使该类成为抽象类 <br /></td></tr>
<tr class="separator:acbe28513919da89bf3f9a5102d6353c3 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62c0e59790735abb3f0a9f002e651c16 inherit pub_methods_classsw_1_1_u_i_element" id="r_a62c0e59790735abb3f0a9f002e651c16"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a62c0e59790735abb3f0a9f002e651c16">RegisterRoutedEvent</a> (RoutedEventType eventType, <a class="el" href="classsw_1_1_dictionary.html">const</a> RoutedEvent &amp;<a class="el" href="classsw_1_1_dictionary.html">handler</a>)</td></tr>
<tr class="memdesc:a62c0e59790735abb3f0a9f002e651c16 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">注册路由事件处理函数，当事件已注册时会覆盖已注册的函数  <br /></td></tr>
<tr class="separator:a62c0e59790735abb3f0a9f002e651c16 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09946400c66a4bfd34cfb8918652a34a inherit pub_methods_classsw_1_1_u_i_element" id="r_a09946400c66a4bfd34cfb8918652a34a"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classsw_1_1_dictionary.html">typename</a> T &gt; </td></tr>
<tr class="memitem:a09946400c66a4bfd34cfb8918652a34a inherit pub_methods_classsw_1_1_u_i_element"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a09946400c66a4bfd34cfb8918652a34a">RegisterRoutedEvent</a> (RoutedEventType eventType, T &amp;<a class="el" href="classsw_1_1_dictionary.html">obj</a>, <a class="el" href="classsw_1_1_dictionary.html">void</a>(T::*<a class="el" href="classsw_1_1_dictionary.html">handler</a>)(<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;, <a class="el" href="structsw_1_1_routed_event_args.html">RoutedEventArgs</a> &amp;))</td></tr>
<tr class="memdesc:a09946400c66a4bfd34cfb8918652a34a inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">注册成员函数作为路由事件处理函数，当事件已注册时会覆盖已注册的函数  <br /></td></tr>
<tr class="separator:a09946400c66a4bfd34cfb8918652a34a inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fe3a905c1fd58baa911bc13aac9f181 inherit pub_methods_classsw_1_1_u_i_element" id="r_a0fe3a905c1fd58baa911bc13aac9f181"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classsw_1_1_dictionary.html">typename</a> <a class="el" href="classsw_1_1_dictionary.html">TEventArgs</a> , <a class="el" href="classsw_1_1_dictionary.html">typename</a> std::enable_if&lt; std::is_base_of&lt; <a class="el" href="structsw_1_1_routed_event_args.html">RoutedEventArgs</a>, <a class="el" href="classsw_1_1_dictionary.html">TEventArgs</a> &gt;::value, <a class="el" href="classsw_1_1_dictionary.html">int</a> &gt;::type  = 0, <a class="el" href="classsw_1_1_dictionary.html">typename</a> std::enable_if&lt; <a class="el" href="structsw_1_1___is_typed_routed_event_args.html">sw::_IsTypedRoutedEventArgs</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">TEventArgs</a> &gt;::value, <a class="el" href="classsw_1_1_dictionary.html">int</a> &gt;::type  = 0&gt; </td></tr>
<tr class="memitem:a0fe3a905c1fd58baa911bc13aac9f181 inherit pub_methods_classsw_1_1_u_i_element"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a0fe3a905c1fd58baa911bc13aac9f181">RegisterRoutedEvent</a> (std::function&lt; <a class="el" href="classsw_1_1_dictionary.html">void</a>(<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;, <a class="el" href="classsw_1_1_dictionary.html">TEventArgs</a> &amp;)&gt; <a class="el" href="classsw_1_1_dictionary.html">handler</a>)</td></tr>
<tr class="memdesc:a0fe3a905c1fd58baa911bc13aac9f181 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据事件参数类型注册路由事件  <br /></td></tr>
<tr class="separator:a0fe3a905c1fd58baa911bc13aac9f181 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb7de98159e23ece7285c87a2592d7ea inherit pub_methods_classsw_1_1_u_i_element" id="r_abb7de98159e23ece7285c87a2592d7ea"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classsw_1_1_dictionary.html">typename</a> <a class="el" href="classsw_1_1_dictionary.html">TEventArgs</a> , <a class="el" href="classsw_1_1_dictionary.html">typename</a> <a class="el" href="classsw_1_1_dictionary.html">THandleObj</a> , <a class="el" href="classsw_1_1_dictionary.html">typename</a> std::enable_if&lt; std::is_base_of&lt; <a class="el" href="structsw_1_1_routed_event_args.html">RoutedEventArgs</a>, <a class="el" href="classsw_1_1_dictionary.html">TEventArgs</a> &gt;::value, <a class="el" href="classsw_1_1_dictionary.html">int</a> &gt;::type  = 0, <a class="el" href="classsw_1_1_dictionary.html">typename</a> std::enable_if&lt; <a class="el" href="structsw_1_1___is_typed_routed_event_args.html">sw::_IsTypedRoutedEventArgs</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">TEventArgs</a> &gt;::value, <a class="el" href="classsw_1_1_dictionary.html">int</a> &gt;::type  = 0&gt; </td></tr>
<tr class="memitem:abb7de98159e23ece7285c87a2592d7ea inherit pub_methods_classsw_1_1_u_i_element"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#abb7de98159e23ece7285c87a2592d7ea">RegisterRoutedEvent</a> (<a class="el" href="classsw_1_1_dictionary.html">THandleObj</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">obj</a>, <a class="el" href="classsw_1_1_dictionary.html">void</a>(THandleObj::*<a class="el" href="classsw_1_1_dictionary.html">handler</a>)(<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;, <a class="el" href="classsw_1_1_dictionary.html">TEventArgs</a> &amp;))</td></tr>
<tr class="memdesc:abb7de98159e23ece7285c87a2592d7ea inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据事件参数类型注册成员函数作为路由事件  <br /></td></tr>
<tr class="separator:abb7de98159e23ece7285c87a2592d7ea inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cbfb44f8280a3e5e01b71906e588d69 inherit pub_methods_classsw_1_1_u_i_element" id="r_a0cbfb44f8280a3e5e01b71906e588d69"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a0cbfb44f8280a3e5e01b71906e588d69">UnregisterRoutedEvent</a> (RoutedEventType eventType)</td></tr>
<tr class="memdesc:a0cbfb44f8280a3e5e01b71906e588d69 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">取消对应类型路由事件的注册  <br /></td></tr>
<tr class="separator:a0cbfb44f8280a3e5e01b71906e588d69 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf8152f31c5e109ba016316182bcec47 inherit pub_methods_classsw_1_1_u_i_element" id="r_adf8152f31c5e109ba016316182bcec47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#adf8152f31c5e109ba016316182bcec47">IsRoutedEventRegistered</a> (RoutedEventType eventType)</td></tr>
<tr class="memdesc:adf8152f31c5e109ba016316182bcec47 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断路由事件是否已被注册  <br /></td></tr>
<tr class="separator:adf8152f31c5e109ba016316182bcec47 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32893339be348aa964441954f3a31101 inherit pub_methods_classsw_1_1_u_i_element" id="r_a32893339be348aa964441954f3a31101"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a32893339be348aa964441954f3a31101">AddChild</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> *<a class="el" href="classsw_1_1_dictionary.html">element</a>)</td></tr>
<tr class="memdesc:a32893339be348aa964441954f3a31101 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加子控件  <br /></td></tr>
<tr class="separator:a32893339be348aa964441954f3a31101 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1576ecfeec8347256a1c43a33169e1dc inherit pub_methods_classsw_1_1_u_i_element" id="r_a1576ecfeec8347256a1c43a33169e1dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a1576ecfeec8347256a1c43a33169e1dc">AddChild</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">element</a>)</td></tr>
<tr class="memdesc:a1576ecfeec8347256a1c43a33169e1dc inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加子控件  <br /></td></tr>
<tr class="separator:a1576ecfeec8347256a1c43a33169e1dc inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac020bc2d263e0dcffa59e0f474ea6e95 inherit pub_methods_classsw_1_1_u_i_element" id="r_ac020bc2d263e0dcffa59e0f474ea6e95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ac020bc2d263e0dcffa59e0f474ea6e95">AddChild</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> *<a class="el" href="classsw_1_1_dictionary.html">element</a>, <a class="el" href="classsw_1_1_dictionary.html">uint64_t</a> layoutTag)</td></tr>
<tr class="memdesc:ac020bc2d263e0dcffa59e0f474ea6e95 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加子控件并设置布局标记  <br /></td></tr>
<tr class="separator:ac020bc2d263e0dcffa59e0f474ea6e95 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e08b05c1a3ac1d95fd54a3ffaab81a0 inherit pub_methods_classsw_1_1_u_i_element" id="r_a3e08b05c1a3ac1d95fd54a3ffaab81a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a3e08b05c1a3ac1d95fd54a3ffaab81a0">AddChild</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">element</a>, <a class="el" href="classsw_1_1_dictionary.html">uint64_t</a> layoutTag)</td></tr>
<tr class="memdesc:a3e08b05c1a3ac1d95fd54a3ffaab81a0 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加子控件并设置布局标记  <br /></td></tr>
<tr class="separator:a3e08b05c1a3ac1d95fd54a3ffaab81a0 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a622a68f74b9122c0de9c57e547b0a62b inherit pub_methods_classsw_1_1_u_i_element" id="r_a622a68f74b9122c0de9c57e547b0a62b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a622a68f74b9122c0de9c57e547b0a62b">RemoveChildAt</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> index)</td></tr>
<tr class="memdesc:a622a68f74b9122c0de9c57e547b0a62b inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除指定索引处的子控件  <br /></td></tr>
<tr class="separator:a622a68f74b9122c0de9c57e547b0a62b inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a925353891b62cb6989410d788a8a4e90 inherit pub_methods_classsw_1_1_u_i_element" id="r_a925353891b62cb6989410d788a8a4e90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a925353891b62cb6989410d788a8a4e90">RemoveChild</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> *<a class="el" href="classsw_1_1_dictionary.html">element</a>)</td></tr>
<tr class="memdesc:a925353891b62cb6989410d788a8a4e90 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除子控件  <br /></td></tr>
<tr class="separator:a925353891b62cb6989410d788a8a4e90 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e825715639370ad2dd1f1276e6cb97f inherit pub_methods_classsw_1_1_u_i_element" id="r_a9e825715639370ad2dd1f1276e6cb97f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a9e825715639370ad2dd1f1276e6cb97f">RemoveChild</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">element</a>)</td></tr>
<tr class="memdesc:a9e825715639370ad2dd1f1276e6cb97f inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除子控件  <br /></td></tr>
<tr class="separator:a9e825715639370ad2dd1f1276e6cb97f inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9585aee58045291cdca577e64f4a56e3 inherit pub_methods_classsw_1_1_u_i_element" id="r_a9585aee58045291cdca577e64f4a56e3"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ClearChildren</b> ()</td></tr>
<tr class="memdesc:a9585aee58045291cdca577e64f4a56e3 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除所有子控件 <br /></td></tr>
<tr class="separator:a9585aee58045291cdca577e64f4a56e3 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45cf2817669c10b59535acf8406a1a09 inherit pub_methods_classsw_1_1_u_i_element" id="r_a45cf2817669c10b59535acf8406a1a09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a45cf2817669c10b59535acf8406a1a09">IndexOf</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> *<a class="el" href="classsw_1_1_dictionary.html">element</a>)</td></tr>
<tr class="memdesc:a45cf2817669c10b59535acf8406a1a09 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取指定元素的索引  <br /></td></tr>
<tr class="separator:a45cf2817669c10b59535acf8406a1a09 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ff6722c909efcb10fbbc63476ab64d6 inherit pub_methods_classsw_1_1_u_i_element" id="r_a8ff6722c909efcb10fbbc63476ab64d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a8ff6722c909efcb10fbbc63476ab64d6">IndexOf</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">element</a>)</td></tr>
<tr class="memdesc:a8ff6722c909efcb10fbbc63476ab64d6 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取指定元素的索引  <br /></td></tr>
<tr class="separator:a8ff6722c909efcb10fbbc63476ab64d6 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dee0000f9edfdce128c7ca3c95ec4ab inherit pub_methods_classsw_1_1_u_i_element" id="r_a3dee0000f9edfdce128c7ca3c95ec4ab"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (<a class="el" href="classsw_1_1_dictionary.html">int</a> index) <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="memdesc:a3dee0000f9edfdce128c7ca3c95ec4ab inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过索引获取子控件 <br /></td></tr>
<tr class="separator:a3dee0000f9edfdce128c7ca3c95ec4ab inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae513a79247f76498e8f586d4ced1ff6e inherit pub_methods_classsw_1_1_u_i_element" id="r_ae513a79247f76498e8f586d4ced1ff6e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ae513a79247f76498e8f586d4ced1ff6e">ShowContextMenu</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">point</a>)</td></tr>
<tr class="memdesc:ae513a79247f76498e8f586d4ced1ff6e inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">弹出当前元素的上下文菜单  <br /></td></tr>
<tr class="separator:ae513a79247f76498e8f586d4ced1ff6e inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abce4a26101de27550375c300b121d95d inherit pub_methods_classsw_1_1_u_i_element" id="r_abce4a26101de27550375c300b121d95d"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MoveToTop</b> ()</td></tr>
<tr class="memdesc:abce4a26101de27550375c300b121d95d inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动到界面顶部 <br /></td></tr>
<tr class="separator:abce4a26101de27550375c300b121d95d inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a793adc7d50d0373d099b26b0a511b95d inherit pub_methods_classsw_1_1_u_i_element" id="r_a793adc7d50d0373d099b26b0a511b95d"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MoveToBottom</b> ()</td></tr>
<tr class="memdesc:a793adc7d50d0373d099b26b0a511b95d inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动到界面底部 <br /></td></tr>
<tr class="separator:a793adc7d50d0373d099b26b0a511b95d inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67bd7d81e6091118e4c97cc24c68543d inherit pub_methods_classsw_1_1_u_i_element" id="r_a67bd7d81e6091118e4c97cc24c68543d"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>IsRootElement</b> ()</td></tr>
<tr class="memdesc:a67bd7d81e6091118e4c97cc24c68543d inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前元素是否为根节点 <br /></td></tr>
<tr class="separator:a67bd7d81e6091118e4c97cc24c68543d inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a560ae73ce93ab62df8d04170b11a1f39 inherit pub_methods_classsw_1_1_u_i_element" id="r_a560ae73ce93ab62df8d04170b11a1f39"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetRootElement</b> ()</td></tr>
<tr class="memdesc:a560ae73ce93ab62df8d04170b11a1f39 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前元素所在界面树的根节点 <br /></td></tr>
<tr class="separator:a560ae73ce93ab62df8d04170b11a1f39 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06a50134522985f88bb0db352b2be689 inherit pub_methods_classsw_1_1_u_i_element" id="r_a06a50134522985f88bb0db352b2be689"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetNextElement</b> ()</td></tr>
<tr class="memdesc:a06a50134522985f88bb0db352b2be689 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前元素在界面树上的下一个节点，若已是最后一个节点则返回根节点 <br /></td></tr>
<tr class="separator:a06a50134522985f88bb0db352b2be689 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6968c7b711722677fb0b9dd7f5f80442 inherit pub_methods_classsw_1_1_u_i_element" id="r_a6968c7b711722677fb0b9dd7f5f80442"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetNextTabStopElement</b> ()</td></tr>
<tr class="memdesc:a6968c7b711722677fb0b9dd7f5f80442 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取下一个TabStop属性为true的元素 <br /></td></tr>
<tr class="separator:a6968c7b711722677fb0b9dd7f5f80442 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82ef0065e6b21ce989852862bc1a0e21 inherit pub_methods_classsw_1_1_u_i_element" id="r_a82ef0065e6b21ce989852862bc1a0e21"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="structsw_1_1_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetRealBackColor</b> ()</td></tr>
<tr class="memdesc:a82ef0065e6b21ce989852862bc1a0e21 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前要显示的背景颜色：当Transparent为true时获取到祖先节点中首个Transparent为false的背景颜色，否则返回当前元素的背景颜色 <br /></td></tr>
<tr class="separator:a82ef0065e6b21ce989852862bc1a0e21 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18dde4a75ac25ae0458ae616eb9bca85 inherit pub_methods_classsw_1_1_u_i_element" id="r_a18dde4a75ac25ae0458ae616eb9bca85"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="structsw_1_1_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetRealTextColor</b> ()</td></tr>
<tr class="memdesc:a18dde4a75ac25ae0458ae616eb9bca85 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前要显示的文本颜色：当InheritTextColor为true时获取到祖先节点中首个InheritTextColor为false的文本颜色，否则返回当前元素的文本颜色 <br /></td></tr>
<tr class="separator:a18dde4a75ac25ae0458ae616eb9bca85 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ce7edc8a920e950a9a75cf1a84ea627 inherit pub_methods_classsw_1_1_u_i_element" id="r_a0ce7edc8a920e950a9a75cf1a84ea627"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a0ce7edc8a920e950a9a75cf1a84ea627">SetCursor</a> (<a class="el" href="classsw_1_1_dictionary.html">HCURSOR</a> <a class="el" href="classsw_1_1_dictionary.html">hCursor</a>)</td></tr>
<tr class="memdesc:a0ce7edc8a920e950a9a75cf1a84ea627 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置鼠标样式  <br /></td></tr>
<tr class="separator:a0ce7edc8a920e950a9a75cf1a84ea627 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a848d8b2ee3267758e9a784be75b65e46 inherit pub_methods_classsw_1_1_u_i_element" id="r_a848d8b2ee3267758e9a784be75b65e46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a848d8b2ee3267758e9a784be75b65e46">SetCursor</a> (StandardCursor <a class="el" href="classsw_1_1_dictionary.html">cursor</a>)</td></tr>
<tr class="memdesc:a848d8b2ee3267758e9a784be75b65e46 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置鼠标样式  <br /></td></tr>
<tr class="separator:a848d8b2ee3267758e9a784be75b65e46 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a421400e98ae700b0593cda2ceec5c1f7 inherit pub_methods_classsw_1_1_u_i_element" id="r_a421400e98ae700b0593cda2ceec5c1f7"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ResetCursor</b> ()</td></tr>
<tr class="memdesc:a421400e98ae700b0593cda2ceec5c1f7 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">将鼠标样式设置为默认样式 <br /></td></tr>
<tr class="separator:a421400e98ae700b0593cda2ceec5c1f7 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b2f0c77c7ec5d6d68bc3c772a72201a inherit pub_methods_classsw_1_1_u_i_element" id="r_a7b2f0c77c7ec5d6d68bc3c772a72201a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a7b2f0c77c7ec5d6d68bc3c772a72201a">SetAlignment</a> (sw::HorizontalAlignment <a class="el" href="classsw_1_1_dictionary.html">horz</a>, sw::VerticalAlignment <a class="el" href="classsw_1_1_dictionary.html">vert</a>)</td></tr>
<tr class="memdesc:a7b2f0c77c7ec5d6d68bc3c772a72201a inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置对齐方式  <br /></td></tr>
<tr class="separator:a7b2f0c77c7ec5d6d68bc3c772a72201a inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78f1c406d3faac2afcb956e9375f65ec inherit pub_methods_classsw_1_1_u_i_element" id="r_a78f1c406d3faac2afcb956e9375f65ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a78f1c406d3faac2afcb956e9375f65ec">GetTag</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a78f1c406d3faac2afcb956e9375f65ec inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取Tag  <br /></td></tr>
<tr class="separator:a78f1c406d3faac2afcb956e9375f65ec inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09acdba6221e69b6ecb17b49975a1414 inherit pub_methods_classsw_1_1_u_i_element" id="r_a09acdba6221e69b6ecb17b49975a1414"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a09acdba6221e69b6ecb17b49975a1414">SetTag</a> (<a class="el" href="classsw_1_1_dictionary.html">uint64_t</a> tag) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a09acdba6221e69b6ecb17b49975a1414 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置Tag  <br /></td></tr>
<tr class="separator:a09acdba6221e69b6ecb17b49975a1414 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa89a8c272d1a9016d2586c6eeab64dce inherit pub_methods_classsw_1_1_u_i_element" id="r_aa89a8c272d1a9016d2586c6eeab64dce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#aa89a8c272d1a9016d2586c6eeab64dce">GetLayoutTag</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:aa89a8c272d1a9016d2586c6eeab64dce inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取布局标记  <br /></td></tr>
<tr class="separator:aa89a8c272d1a9016d2586c6eeab64dce inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a994aad366bc1f62ef7d53defa9456e64 inherit pub_methods_classsw_1_1_u_i_element" id="r_a994aad366bc1f62ef7d53defa9456e64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a994aad366bc1f62ef7d53defa9456e64">GetChildLayoutCount</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a994aad366bc1f62ef7d53defa9456e64 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取参与布局的子控件数量  <br /></td></tr>
<tr class="separator:a994aad366bc1f62ef7d53defa9456e64 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3683672f3c2fc8f80e4f808aac78d262 inherit pub_methods_classsw_1_1_u_i_element" id="r_a3683672f3c2fc8f80e4f808aac78d262"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_i_layout.html">ILayout</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a3683672f3c2fc8f80e4f808aac78d262">GetChildLayoutAt</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> index) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a3683672f3c2fc8f80e4f808aac78d262 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取对应索引处的子控件，使用此函数前必须先调用GetChildLayoutCount  <br /></td></tr>
<tr class="separator:a3683672f3c2fc8f80e4f808aac78d262 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a633ace3fad478f1cc6480fa5512288fb inherit pub_methods_classsw_1_1_u_i_element" id="r_a633ace3fad478f1cc6480fa5512288fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="structsw_1_1_size.html">Size</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a633ace3fad478f1cc6480fa5512288fb">GetDesireSize</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a633ace3fad478f1cc6480fa5512288fb inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控件所需尺寸  <br /></td></tr>
<tr class="separator:a633ace3fad478f1cc6480fa5512288fb inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3370e535f462680d66063e45b92807f6 inherit pub_methods_classsw_1_1_u_i_element" id="r_a3370e535f462680d66063e45b92807f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a3370e535f462680d66063e45b92807f6">SetDesireSize</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_size.html">Size</a> &amp;size) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a3370e535f462680d66063e45b92807f6 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前控件所需的尺寸  <br /></td></tr>
<tr class="separator:a3370e535f462680d66063e45b92807f6 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef217f2655c4a746606bf302edc16cf4 inherit pub_methods_classsw_1_1_u_i_element" id="r_aef217f2655c4a746606bf302edc16cf4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#aef217f2655c4a746606bf302edc16cf4">Measure</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_size.html">Size</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">availableSize</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:aef217f2655c4a746606bf302edc16cf4 inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">测量控件所需尺寸  <br /></td></tr>
<tr class="separator:aef217f2655c4a746606bf302edc16cf4 inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8088cf88b28c6b4a5f93cd7a66a769e inherit pub_methods_classsw_1_1_u_i_element" id="r_ac8088cf88b28c6b4a5f93cd7a66a769e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ac8088cf88b28c6b4a5f93cd7a66a769e">Arrange</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_rect.html">sw::Rect</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">finalPosition</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:ac8088cf88b28c6b4a5f93cd7a66a769e inherit pub_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">安排控件位置  <br /></td></tr>
<tr class="separator:ac8088cf88b28c6b4a5f93cd7a66a769e inherit pub_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsw_1_1_wnd_base"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classsw_1_1_wnd_base')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classsw_1_1_wnd_base.html">sw::WndBase</a></td></tr>
<tr class="memitem:a6c99714fa3f313e7535936585f63b9cb inherit pub_methods_classsw_1_1_wnd_base" id="r_a6c99714fa3f313e7535936585f63b9cb"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">virtual</a>&#160;</td><td class="memItemRight" valign="bottom"><b>~WndBase</b> ()=0</td></tr>
<tr class="memdesc:a6c99714fa3f313e7535936585f63b9cb inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数，这里用纯虚函数使该类成为抽象类 <br /></td></tr>
<tr class="separator:a6c99714fa3f313e7535936585f63b9cb inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2f1b78dd8165c8bca0313180a9f4b81 inherit pub_methods_classsw_1_1_wnd_base" id="r_ae2f1b78dd8165c8bca0313180a9f4b81"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Show</b> (<a class="el" href="classsw_1_1_dictionary.html">int</a> <a class="el" href="classsw_1_1_dictionary.html">nCmdShow</a>)</td></tr>
<tr class="memdesc:ae2f1b78dd8165c8bca0313180a9f4b81 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">该函数调用ShowWindow <br /></td></tr>
<tr class="separator:ae2f1b78dd8165c8bca0313180a9f4b81 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a436818f8ad91446f86b42081dd1a7358 inherit pub_methods_classsw_1_1_wnd_base" id="r_a436818f8ad91446f86b42081dd1a7358"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Close</b> ()</td></tr>
<tr class="memdesc:a436818f8ad91446f86b42081dd1a7358 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送关闭消息 <br /></td></tr>
<tr class="separator:a436818f8ad91446f86b42081dd1a7358 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7ac81f0ed48a5093fd3170c7c756963 inherit pub_methods_classsw_1_1_wnd_base" id="r_ab7ac81f0ed48a5093fd3170c7c756963"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Update</b> ()</td></tr>
<tr class="memdesc:ab7ac81f0ed48a5093fd3170c7c756963 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">该函数调用UpdateWindow <br /></td></tr>
<tr class="separator:ab7ac81f0ed48a5093fd3170c7c756963 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8df0384e2be0569e0da1f51985204c8 inherit pub_methods_classsw_1_1_wnd_base" id="r_af8df0384e2be0569e0da1f51985204c8"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>UpdateFont</b> ()</td></tr>
<tr class="memdesc:af8df0384e2be0569e0da1f51985204c8 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新字体 <br /></td></tr>
<tr class="separator:af8df0384e2be0569e0da1f51985204c8 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2eec178adddff9e44d83238f19d57b1b inherit pub_methods_classsw_1_1_wnd_base" id="r_a2eec178adddff9e44d83238f19d57b1b"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">HFONT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetFontHandle</b> ()</td></tr>
<tr class="memdesc:a2eec178adddff9e44d83238f19d57b1b inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取字体句柄 <br /></td></tr>
<tr class="separator:a2eec178adddff9e44d83238f19d57b1b inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c0d183115a35f097b0598af43c9ca9a inherit pub_methods_classsw_1_1_wnd_base" id="r_a1c0d183115a35f097b0598af43c9ca9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a1c0d183115a35f097b0598af43c9ca9a">Redraw</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">erase</a>=<a class="el" href="classsw_1_1_dictionary.html">false</a>)</td></tr>
<tr class="memdesc:a1c0d183115a35f097b0598af43c9ca9a inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">重画  <br /></td></tr>
<tr class="separator:a1c0d183115a35f097b0598af43c9ca9a inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace8f6b05caa5d335f7d574c38035bfa7 inherit pub_methods_classsw_1_1_wnd_base" id="r_ace8f6b05caa5d335f7d574c38035bfa7"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>IsControl</b> ()</td></tr>
<tr class="memdesc:ace8f6b05caa5d335f7d574c38035bfa7 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前对象是否是控件 <br /></td></tr>
<tr class="separator:ace8f6b05caa5d335f7d574c38035bfa7 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ee668e7a5261f96df0bd69a1fb868d3 inherit pub_methods_classsw_1_1_wnd_base" id="r_a6ee668e7a5261f96df0bd69a1fb868d3"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>IsVisible</b> ()</td></tr>
<tr class="memdesc:a6ee668e7a5261f96df0bd69a1fb868d3 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前对象在界面中是否可视，与Visible属性不同的是该函数返回值会受父窗口的影响 <br /></td></tr>
<tr class="separator:a6ee668e7a5261f96df0bd69a1fb868d3 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a975bcf1d7c27e7d482aa18f7faaf23d0 inherit pub_methods_classsw_1_1_wnd_base" id="r_a975bcf1d7c27e7d482aa18f7faaf23d0"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetStyle</b> ()</td></tr>
<tr class="memdesc:a975bcf1d7c27e7d482aa18f7faaf23d0 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取窗口样式 <br /></td></tr>
<tr class="separator:a975bcf1d7c27e7d482aa18f7faaf23d0 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6dbe392704320ef2e6896eff55dd4f inherit pub_methods_classsw_1_1_wnd_base" id="r_afc6dbe392704320ef2e6896eff55dd4f"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SetStyle</b> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">style</a>)</td></tr>
<tr class="memdesc:afc6dbe392704320ef2e6896eff55dd4f inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置窗口样式 <br /></td></tr>
<tr class="separator:afc6dbe392704320ef2e6896eff55dd4f inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae545de230ba94e3263f3197e98308079 inherit pub_methods_classsw_1_1_wnd_base" id="r_ae545de230ba94e3263f3197e98308079"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#ae545de230ba94e3263f3197e98308079">GetStyle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">mask</a>)</td></tr>
<tr class="memdesc:ae545de230ba94e3263f3197e98308079 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断窗口是否设有指定样式  <br /></td></tr>
<tr class="separator:ae545de230ba94e3263f3197e98308079 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a1c2216b75bd9cd45d4a2e042b55c5 inherit pub_methods_classsw_1_1_wnd_base" id="r_a34a1c2216b75bd9cd45d4a2e042b55c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a34a1c2216b75bd9cd45d4a2e042b55c5">SetStyle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">mask</a>, <a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">value</a>)</td></tr>
<tr class="memdesc:a34a1c2216b75bd9cd45d4a2e042b55c5 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">打开或关闭指定的样式  <br /></td></tr>
<tr class="separator:a34a1c2216b75bd9cd45d4a2e042b55c5 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af536e23ad45de7e0d0a48c156671e331 inherit pub_methods_classsw_1_1_wnd_base" id="r_af536e23ad45de7e0d0a48c156671e331"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetExtendedStyle</b> ()</td></tr>
<tr class="memdesc:af536e23ad45de7e0d0a48c156671e331 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取扩展窗口样式 <br /></td></tr>
<tr class="separator:af536e23ad45de7e0d0a48c156671e331 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a074171e62cdb3e20f53b9262164852ca inherit pub_methods_classsw_1_1_wnd_base" id="r_a074171e62cdb3e20f53b9262164852ca"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SetExtendedStyle</b> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">style</a>)</td></tr>
<tr class="memdesc:a074171e62cdb3e20f53b9262164852ca inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置扩展窗口样式 <br /></td></tr>
<tr class="separator:a074171e62cdb3e20f53b9262164852ca inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d3e7d32b7cdcfd3489c0d890a2910ab inherit pub_methods_classsw_1_1_wnd_base" id="r_a2d3e7d32b7cdcfd3489c0d890a2910ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a2d3e7d32b7cdcfd3489c0d890a2910ab">GetExtendedStyle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">mask</a>)</td></tr>
<tr class="memdesc:a2d3e7d32b7cdcfd3489c0d890a2910ab inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断窗口是否设有指定扩展样式  <br /></td></tr>
<tr class="separator:a2d3e7d32b7cdcfd3489c0d890a2910ab inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05caaf7da3138fe9063f7a3e1088f9ac inherit pub_methods_classsw_1_1_wnd_base" id="r_a05caaf7da3138fe9063f7a3e1088f9ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a05caaf7da3138fe9063f7a3e1088f9ac">SetExtendedStyle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">mask</a>, <a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">value</a>)</td></tr>
<tr class="memdesc:a05caaf7da3138fe9063f7a3e1088f9ac inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">打开或关闭指定的扩展样式  <br /></td></tr>
<tr class="separator:a05caaf7da3138fe9063f7a3e1088f9ac inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a292d93c230f5534cdf68ac5d685dd487 inherit pub_methods_classsw_1_1_wnd_base" id="r_a292d93c230f5534cdf68ac5d685dd487"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsw_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a292d93c230f5534cdf68ac5d685dd487">PointToScreen</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">point</a>)</td></tr>
<tr class="memdesc:a292d93c230f5534cdf68ac5d685dd487 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取用户区点在屏幕上点的位置  <br /></td></tr>
<tr class="separator:a292d93c230f5534cdf68ac5d685dd487 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1b33e5930fc14467f65ad89c2c35c3 inherit pub_methods_classsw_1_1_wnd_base" id="r_a6f1b33e5930fc14467f65ad89c2c35c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsw_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a6f1b33e5930fc14467f65ad89c2c35c3">PointFromScreen</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">screenPoint</a>)</td></tr>
<tr class="memdesc:a6f1b33e5930fc14467f65ad89c2c35c3 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取屏幕上点在当前用户区点的位置  <br /></td></tr>
<tr class="separator:a6f1b33e5930fc14467f65ad89c2c35c3 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33d23326907c603a24385f81e179e174 inherit pub_methods_classsw_1_1_wnd_base" id="r_a33d23326907c603a24385f81e179e174"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">LRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SendMessageA</b> (<a class="el" href="classsw_1_1_dictionary.html">UINT</a> uMsg, <a class="el" href="classsw_1_1_dictionary.html">WPARAM</a> wParam, <a class="el" href="classsw_1_1_dictionary.html">LPARAM</a> lParam)</td></tr>
<tr class="memdesc:a33d23326907c603a24385f81e179e174 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送消息（ASCII） <br /></td></tr>
<tr class="separator:a33d23326907c603a24385f81e179e174 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad50166a8ade9a7eaf0088f13fd708e2f inherit pub_methods_classsw_1_1_wnd_base" id="r_ad50166a8ade9a7eaf0088f13fd708e2f"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">LRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SendMessageW</b> (<a class="el" href="classsw_1_1_dictionary.html">UINT</a> uMsg, <a class="el" href="classsw_1_1_dictionary.html">WPARAM</a> wParam, <a class="el" href="classsw_1_1_dictionary.html">LPARAM</a> lParam)</td></tr>
<tr class="memdesc:ad50166a8ade9a7eaf0088f13fd708e2f inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送消息（UNICODE） <br /></td></tr>
<tr class="separator:ad50166a8ade9a7eaf0088f13fd708e2f inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87c9d860ba24487f2b61b72987a4bd63 inherit pub_methods_classsw_1_1_wnd_base" id="r_a87c9d860ba24487f2b61b72987a4bd63"><td class="memItemLeft" align="right" valign="top">HitTestResult&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a87c9d860ba24487f2b61b72987a4bd63">NcHitTest</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">testPoint</a>)</td></tr>
<tr class="memdesc:a87c9d860ba24487f2b61b72987a4bd63 inherit pub_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">测试指定点在窗口的哪一部分  <br /></td></tr>
<tr class="separator:a87c9d860ba24487f2b61b72987a4bd63 inherit pub_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a496b008fab7266676831e3473353537d" id="r_a496b008fab7266676831e3473353537d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a496b008fab7266676831e3473353537d">OnDrawFocusRect</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a496b008fab7266676831e3473353537d"><td class="mdescLeft">&#160;</td><td class="mdescRight">绘制虚线框时调用该函数  <br /></td></tr>
<tr class="separator:a496b008fab7266676831e3473353537d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ef48914988a2c38835ff09dee5c5040" id="r_a7ef48914988a2c38835ff09dee5c5040"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7ef48914988a2c38835ff09dee5c5040">OnSetFocus</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> <a class="el" href="classsw_1_1_dictionary.html">hPreFocus</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a7ef48914988a2c38835ff09dee5c5040"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SETFOCUS时调用该函数  <br /></td></tr>
<tr class="separator:a7ef48914988a2c38835ff09dee5c5040"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a367d1dfa43e065dbe2a0272d4cfef458" id="r_a367d1dfa43e065dbe2a0272d4cfef458"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a367d1dfa43e065dbe2a0272d4cfef458">OnKillFocus</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> <a class="el" href="classsw_1_1_dictionary.html">hNextFocus</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a367d1dfa43e065dbe2a0272d4cfef458"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_KILLFOCUS时调用该函数  <br /></td></tr>
<tr class="separator:a367d1dfa43e065dbe2a0272d4cfef458"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c8ac08e29b2b2294047949bfc025891" id="r_a7c8ac08e29b2b2294047949bfc025891"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7c8ac08e29b2b2294047949bfc025891">OnKeyDown</a> (VirtualKey key, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a7c8ac08e29b2b2294047949bfc025891"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_KEYDOWN时调用该函数  <br /></td></tr>
<tr class="separator:a7c8ac08e29b2b2294047949bfc025891"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classsw_1_1_button_base"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pro_methods_classsw_1_1_button_base')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classsw_1_1_button_base.html">sw::ButtonBase</a></td></tr>
<tr class="memitem:ae5dad2a65523da878df700fa4aefe3ee inherit pro_methods_classsw_1_1_button_base" id="r_ae5dad2a65523da878df700fa4aefe3ee"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>ButtonBase</b> ()</td></tr>
<tr class="memdesc:ae5dad2a65523da878df700fa4aefe3ee inherit pro_methods_classsw_1_1_button_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化ButtonBase <br /></td></tr>
<tr class="separator:ae5dad2a65523da878df700fa4aefe3ee inherit pro_methods_classsw_1_1_button_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35200f7e5429767c50c089eb312ff248 inherit pro_methods_classsw_1_1_button_base" id="r_a35200f7e5429767c50c089eb312ff248"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>InitButtonBase</b> (<a class="el" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="el" href="classsw_1_1_dictionary.html">lpWindowName</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwStyle</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwExStyle</a>)</td></tr>
<tr class="memdesc:a35200f7e5429767c50c089eb312ff248 inherit pro_methods_classsw_1_1_button_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化控件 <br /></td></tr>
<tr class="separator:a35200f7e5429767c50c089eb312ff248 inherit pro_methods_classsw_1_1_button_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad95b3a535345f674c55b7c6287e49a2d inherit pro_methods_classsw_1_1_button_base" id="r_ad95b3a535345f674c55b7c6287e49a2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_button_base.html#ad95b3a535345f674c55b7c6287e49a2d">OnCommand</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> <a class="el" href="classsw_1_1_dictionary.html">code</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:ad95b3a535345f674c55b7c6287e49a2d inherit pro_methods_classsw_1_1_button_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">当父窗口接收到控件的WM_COMMAND时调用该函数  <br /></td></tr>
<tr class="separator:ad95b3a535345f674c55b7c6287e49a2d inherit pro_methods_classsw_1_1_button_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cd07956db48b796257bd1ac238642f6 inherit pro_methods_classsw_1_1_button_base" id="r_a2cd07956db48b796257bd1ac238642f6"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>OnClicked</b> ()</td></tr>
<tr class="memdesc:a2cd07956db48b796257bd1ac238642f6 inherit pro_methods_classsw_1_1_button_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">被单击时调用该函数 <br /></td></tr>
<tr class="separator:a2cd07956db48b796257bd1ac238642f6 inherit pro_methods_classsw_1_1_button_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0fb82e77ba464863fc609c987d5ff5d inherit pro_methods_classsw_1_1_button_base" id="r_aa0fb82e77ba464863fc609c987d5ff5d"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>OnDoubleClicked</b> ()</td></tr>
<tr class="memdesc:aa0fb82e77ba464863fc609c987d5ff5d inherit pro_methods_classsw_1_1_button_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">被双击时调用该函数 <br /></td></tr>
<tr class="separator:aa0fb82e77ba464863fc609c987d5ff5d inherit pro_methods_classsw_1_1_button_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classsw_1_1_control"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pro_methods_classsw_1_1_control')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classsw_1_1_control.html">sw::Control</a></td></tr>
<tr class="memitem:aec7b384d013e9d25c507cf9ded87bff1 inherit pro_methods_classsw_1_1_control" id="r_aec7b384d013e9d25c507cf9ded87bff1"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>Control</b> ()</td></tr>
<tr class="memdesc:aec7b384d013e9d25c507cf9ded87bff1 inherit pro_methods_classsw_1_1_control"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化控件 <br /></td></tr>
<tr class="separator:aec7b384d013e9d25c507cf9ded87bff1 inherit pro_methods_classsw_1_1_control"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6593e51639858796dfa85f3910ccba9 inherit pro_methods_classsw_1_1_control" id="r_ac6593e51639858796dfa85f3910ccba9"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ResetHandle</b> ()</td></tr>
<tr class="memdesc:ac6593e51639858796dfa85f3910ccba9 inherit pro_methods_classsw_1_1_control"><td class="mdescLeft">&#160;</td><td class="mdescRight">销毁控件句柄并重新初始化，该操作会创建新的句柄并设置样式、文本、字体等 <br /></td></tr>
<tr class="separator:ac6593e51639858796dfa85f3910ccba9 inherit pro_methods_classsw_1_1_control"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22f117bd4d39c273cfe625d9ce00361a inherit pro_methods_classsw_1_1_control" id="r_a22f117bd4d39c273cfe625d9ce00361a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_control.html#a22f117bd4d39c273cfe625d9ce00361a">ResetHandle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">style</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">exStyle</a>)</td></tr>
<tr class="memdesc:a22f117bd4d39c273cfe625d9ce00361a inherit pro_methods_classsw_1_1_control"><td class="mdescLeft">&#160;</td><td class="mdescRight">销毁控件句柄并重新初始化，并修改样式，该操作会创建新的句柄并设置样式、文本、字体等  <br /></td></tr>
<tr class="separator:a22f117bd4d39c273cfe625d9ce00361a inherit pro_methods_classsw_1_1_control"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad16158c308954eedf12dad4603ef17db inherit pro_methods_classsw_1_1_control" id="r_ad16158c308954eedf12dad4603ef17db"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>HandleChenged</b> ()</td></tr>
<tr class="memdesc:ad16158c308954eedf12dad4603ef17db inherit pro_methods_classsw_1_1_control"><td class="mdescLeft">&#160;</td><td class="mdescRight">控件句柄发生改变时调用该函数 <br /></td></tr>
<tr class="separator:ad16158c308954eedf12dad4603ef17db inherit pro_methods_classsw_1_1_control"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classsw_1_1_u_i_element"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pro_methods_classsw_1_1_u_i_element')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classsw_1_1_u_i_element.html">sw::UIElement</a></td></tr>
<tr class="memitem:aeebf42b059a9962fd9c2ba64dcc309ca inherit pro_methods_classsw_1_1_u_i_element" id="r_aeebf42b059a9962fd9c2ba64dcc309ca"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>UIElement</b> ()</td></tr>
<tr class="memdesc:aeebf42b059a9962fd9c2ba64dcc309ca inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化UIElement <br /></td></tr>
<tr class="separator:aeebf42b059a9962fd9c2ba64dcc309ca inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0635558e1928f1144566a30b884303aa inherit pro_methods_classsw_1_1_u_i_element" id="r_a0635558e1928f1144566a30b884303aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a0635558e1928f1144566a30b884303aa">RaiseRoutedEvent</a> (RoutedEventType eventType)</td></tr>
<tr class="memdesc:a0635558e1928f1144566a30b884303aa inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发路由事件  <br /></td></tr>
<tr class="separator:a0635558e1928f1144566a30b884303aa inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a135d4fc74c3bf7a434271620944b9f9b inherit pro_methods_classsw_1_1_u_i_element" id="r_a135d4fc74c3bf7a434271620944b9f9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a135d4fc74c3bf7a434271620944b9f9b">RaiseRoutedEvent</a> (<a class="el" href="structsw_1_1_routed_event_args.html">RoutedEventArgs</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">eventArgs</a>)</td></tr>
<tr class="memdesc:a135d4fc74c3bf7a434271620944b9f9b inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发路由事件  <br /></td></tr>
<tr class="separator:a135d4fc74c3bf7a434271620944b9f9b inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5832ef956cdc4face3e9dbd0c72e66e inherit pro_methods_classsw_1_1_u_i_element" id="r_ab5832ef956cdc4face3e9dbd0c72e66e"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>NotifyLayoutUpdated</b> ()</td></tr>
<tr class="memdesc:ab5832ef956cdc4face3e9dbd0c72e66e inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">通知顶级窗口布局改变 <br /></td></tr>
<tr class="separator:ab5832ef956cdc4face3e9dbd0c72e66e inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae43f4f3c5a5c723d29f20e5590641388 inherit pro_methods_classsw_1_1_u_i_element" id="r_ae43f4f3c5a5c723d29f20e5590641388"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">double</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetArrangeOffsetX</b> ()</td></tr>
<tr class="memdesc:ae43f4f3c5a5c723d29f20e5590641388 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取Arrange时子元素的水平偏移量 <br /></td></tr>
<tr class="separator:ae43f4f3c5a5c723d29f20e5590641388 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab48faeb3dde62fbbe944a28dce2f3133 inherit pro_methods_classsw_1_1_u_i_element" id="r_ab48faeb3dde62fbbe944a28dce2f3133"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">double</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetArrangeOffsetY</b> ()</td></tr>
<tr class="memdesc:ab48faeb3dde62fbbe944a28dce2f3133 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取Arrange时子元素的垂直偏移量 <br /></td></tr>
<tr class="separator:ab48faeb3dde62fbbe944a28dce2f3133 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f0bde7d9646b68dfe7251eba908cc08 inherit pro_methods_classsw_1_1_u_i_element" id="r_a1f0bde7d9646b68dfe7251eba908cc08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">double</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a1f0bde7d9646b68dfe7251eba908cc08">GetChildRightmost</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">update</a>)</td></tr>
<tr class="memdesc:a1f0bde7d9646b68dfe7251eba908cc08 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取所有子元素在当前元素中最右边的位置（只考虑参与布局的子窗口且忽略悬浮的元素）  <br /></td></tr>
<tr class="separator:a1f0bde7d9646b68dfe7251eba908cc08 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bda5652549fe9909e3b6b1383754b30 inherit pro_methods_classsw_1_1_u_i_element" id="r_a7bda5652549fe9909e3b6b1383754b30"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">double</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a7bda5652549fe9909e3b6b1383754b30">GetChildBottommost</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">update</a>)</td></tr>
<tr class="memdesc:a7bda5652549fe9909e3b6b1383754b30 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取所有子元素在当前元素中最底边的位置（只考虑参与布局的子窗口且忽略悬浮的元素）  <br /></td></tr>
<tr class="separator:a7bda5652549fe9909e3b6b1383754b30 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf5b0f1e5c2e24390b7f267db28c595a inherit pro_methods_classsw_1_1_u_i_element" id="r_acf5b0f1e5c2e24390b7f267db28c595a"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>UpdateChildrenZOrder</b> ()</td></tr>
<tr class="memdesc:acf5b0f1e5c2e24390b7f267db28c595a inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新子元素的Z轴位置 <br /></td></tr>
<tr class="separator:acf5b0f1e5c2e24390b7f267db28c595a inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7e788c5e662363d6244414c5250a39d inherit pro_methods_classsw_1_1_u_i_element" id="r_ae7e788c5e662363d6244414c5250a39d"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>UpdateSiblingsZOrder</b> ()</td></tr>
<tr class="memdesc:ae7e788c5e662363d6244414c5250a39d inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新兄弟元素的Z轴位置 <br /></td></tr>
<tr class="separator:ae7e788c5e662363d6244414c5250a39d inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d9db652043bc5c5cd3483d82b35dcbe inherit pro_methods_classsw_1_1_u_i_element" id="r_a0d9db652043bc5c5cd3483d82b35dcbe"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SetNextTabStopFocus</b> ()</td></tr>
<tr class="memdesc:a0d9db652043bc5c5cd3483d82b35dcbe inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置下一个TabStop属性为true的元素为焦点元素 <br /></td></tr>
<tr class="separator:a0d9db652043bc5c5cd3483d82b35dcbe inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af60b45de9f894f4fb152491413f1fa73 inherit pro_methods_classsw_1_1_u_i_element" id="r_af60b45de9f894f4fb152491413f1fa73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#af60b45de9f894f4fb152491413f1fa73">SetBackColor</a> (<a class="el" href="structsw_1_1_color.html">Color</a> <a class="el" href="classsw_1_1_dictionary.html">color</a>, <a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">redraw</a>)</td></tr>
<tr class="memdesc:af60b45de9f894f4fb152491413f1fa73 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置背景颜色  <br /></td></tr>
<tr class="separator:af60b45de9f894f4fb152491413f1fa73 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8557638ba9975346d62f5339de55664 inherit pro_methods_classsw_1_1_u_i_element" id="r_ab8557638ba9975346d62f5339de55664"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ab8557638ba9975346d62f5339de55664">SetTextColor</a> (<a class="el" href="structsw_1_1_color.html">Color</a> <a class="el" href="classsw_1_1_dictionary.html">color</a>, <a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">redraw</a>)</td></tr>
<tr class="memdesc:ab8557638ba9975346d62f5339de55664 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置文本颜色  <br /></td></tr>
<tr class="separator:ab8557638ba9975346d62f5339de55664 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3e134d807af7614e1cc812abb860762 inherit pro_methods_classsw_1_1_u_i_element" id="r_ae3e134d807af7614e1cc812abb860762"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ae3e134d807af7614e1cc812abb860762">OnAddedChild</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">element</a>)</td></tr>
<tr class="memdesc:ae3e134d807af7614e1cc812abb860762 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加子元素后调用该函数  <br /></td></tr>
<tr class="separator:ae3e134d807af7614e1cc812abb860762 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadedba1a9bca85555b70bc247b8ef835 inherit pro_methods_classsw_1_1_u_i_element" id="r_aadedba1a9bca85555b70bc247b8ef835"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#aadedba1a9bca85555b70bc247b8ef835">OnRemovedChild</a> (<a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">element</a>)</td></tr>
<tr class="memdesc:aadedba1a9bca85555b70bc247b8ef835 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除子元素后调用该函数  <br /></td></tr>
<tr class="separator:aadedba1a9bca85555b70bc247b8ef835 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f0826e68eb96f7b7dd7882c4c0171b9 inherit pro_methods_classsw_1_1_u_i_element" id="r_a0f0826e68eb96f7b7dd7882c4c0171b9"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>OnTabStop</b> ()</td></tr>
<tr class="memdesc:a0f0826e68eb96f7b7dd7882c4c0171b9 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过tab键将焦点移动到当前元素时调用该函数 <br /></td></tr>
<tr class="separator:a0f0826e68eb96f7b7dd7882c4c0171b9 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad685138138402ddd8a5fde67bbb85a45 inherit pro_methods_classsw_1_1_u_i_element" id="r_ad685138138402ddd8a5fde67bbb85a45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ad685138138402ddd8a5fde67bbb85a45">SetParent</a> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="el" href="classsw_1_1_dictionary.html">parent</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:ad685138138402ddd8a5fde67bbb85a45 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置父窗口  <br /></td></tr>
<tr class="separator:ad685138138402ddd8a5fde67bbb85a45 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87b86762809c8e4a0ace610a977caa78 inherit pro_methods_classsw_1_1_u_i_element" id="r_a87b86762809c8e4a0ace610a977caa78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a87b86762809c8e4a0ace610a977caa78">ParentChanged</a> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="el" href="classsw_1_1_dictionary.html">newParent</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a87b86762809c8e4a0ace610a977caa78 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">父窗口改变时调用此函数  <br /></td></tr>
<tr class="separator:a87b86762809c8e4a0ace610a977caa78 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57a1cb1cc82765f93b21fa8261ec2e50 inherit pro_methods_classsw_1_1_u_i_element" id="r_a57a1cb1cc82765f93b21fa8261ec2e50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a57a1cb1cc82765f93b21fa8261ec2e50">OnEndPaint</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a57a1cb1cc82765f93b21fa8261ec2e50 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">在OnPaint函数完成之后调用该函数  <br /></td></tr>
<tr class="separator:a57a1cb1cc82765f93b21fa8261ec2e50 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c1f0b6a491e639c76e46a29bff00d65 inherit pro_methods_classsw_1_1_u_i_element" id="r_a1c1f0b6a491e639c76e46a29bff00d65"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a1c1f0b6a491e639c76e46a29bff00d65">OnClose</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a1c1f0b6a491e639c76e46a29bff00d65 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CLOSE时调用该函数  <br /></td></tr>
<tr class="separator:a1c1f0b6a491e639c76e46a29bff00d65 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6482d770b94d6b40da944d64730e8237 inherit pro_methods_classsw_1_1_u_i_element" id="r_a6482d770b94d6b40da944d64730e8237"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a6482d770b94d6b40da944d64730e8237">OnMove</a> (<a class="el" href="structsw_1_1_point.html">Point</a> newClientPosition) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a6482d770b94d6b40da944d64730e8237 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MOVE时调用该函数  <br /></td></tr>
<tr class="separator:a6482d770b94d6b40da944d64730e8237 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4f4d3a0d23a886c0257c439821f5809 inherit pro_methods_classsw_1_1_u_i_element" id="r_af4f4d3a0d23a886c0257c439821f5809"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#af4f4d3a0d23a886c0257c439821f5809">OnSize</a> (<a class="el" href="structsw_1_1_size.html">Size</a> newClientSize) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:af4f4d3a0d23a886c0257c439821f5809 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SIZE时调用该函数  <br /></td></tr>
<tr class="separator:af4f4d3a0d23a886c0257c439821f5809 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e1fbc142c7cfe4a4a60959daf0753bc inherit pro_methods_classsw_1_1_u_i_element" id="r_a7e1fbc142c7cfe4a4a60959daf0753bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a7e1fbc142c7cfe4a4a60959daf0753bc">OnTextChanged</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a7e1fbc142c7cfe4a4a60959daf0753bc inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Text属性更改时调用此函数  <br /></td></tr>
<tr class="separator:a7e1fbc142c7cfe4a4a60959daf0753bc inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98812949329f77e400f7e0e381c56c3d inherit pro_methods_classsw_1_1_u_i_element" id="r_a98812949329f77e400f7e0e381c56c3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a98812949329f77e400f7e0e381c56c3d">VisibleChanged</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">newVisible</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a98812949329f77e400f7e0e381c56c3d inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visible属性改变时调用此函数  <br /></td></tr>
<tr class="separator:a98812949329f77e400f7e0e381c56c3d inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a92f96787dd7981f0c1934ff618b36e inherit pro_methods_classsw_1_1_u_i_element" id="r_a3a92f96787dd7981f0c1934ff618b36e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a3a92f96787dd7981f0c1934ff618b36e">OnChar</a> (<a class="el" href="classsw_1_1_dictionary.html">wchar_t</a> ch, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a3a92f96787dd7981f0c1934ff618b36e inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CHAR时调用该函数  <br /></td></tr>
<tr class="separator:a3a92f96787dd7981f0c1934ff618b36e inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2be8df1de363a180ef2c32606e2fc74 inherit pro_methods_classsw_1_1_u_i_element" id="r_ad2be8df1de363a180ef2c32606e2fc74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ad2be8df1de363a180ef2c32606e2fc74">OnKeyUp</a> (VirtualKey key, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:ad2be8df1de363a180ef2c32606e2fc74 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_KEYUP时调用该函数  <br /></td></tr>
<tr class="separator:ad2be8df1de363a180ef2c32606e2fc74 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2589db7fdbba4423307e64f6289a4650 inherit pro_methods_classsw_1_1_u_i_element" id="r_a2589db7fdbba4423307e64f6289a4650"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a2589db7fdbba4423307e64f6289a4650">OnMouseMove</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a2589db7fdbba4423307e64f6289a4650 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MOUSEMOVE时调用该函数  <br /></td></tr>
<tr class="separator:a2589db7fdbba4423307e64f6289a4650 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac65b1a6485b454004801a296c788db6a inherit pro_methods_classsw_1_1_u_i_element" id="r_ac65b1a6485b454004801a296c788db6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ac65b1a6485b454004801a296c788db6a">OnMouseLeave</a> () <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:ac65b1a6485b454004801a296c788db6a inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MOUSELEAVE时调用该函数  <br /></td></tr>
<tr class="separator:ac65b1a6485b454004801a296c788db6a inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d8e08dc4281b7bf67bb60c9f92fbde0 inherit pro_methods_classsw_1_1_u_i_element" id="r_a4d8e08dc4281b7bf67bb60c9f92fbde0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a4d8e08dc4281b7bf67bb60c9f92fbde0">OnMouseWheel</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> wheelDelta, <a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a4d8e08dc4281b7bf67bb60c9f92fbde0 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MOUSEWHEEL时调用该函数  <br /></td></tr>
<tr class="separator:a4d8e08dc4281b7bf67bb60c9f92fbde0 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a307e0afb1a83b8a31a54844089483f76 inherit pro_methods_classsw_1_1_u_i_element" id="r_a307e0afb1a83b8a31a54844089483f76"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a307e0afb1a83b8a31a54844089483f76">OnMouseLeftButtonDown</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a307e0afb1a83b8a31a54844089483f76 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_LBUTTONDOWN时调用该函数  <br /></td></tr>
<tr class="separator:a307e0afb1a83b8a31a54844089483f76 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3360842adfd2298d4d505305250a6eb inherit pro_methods_classsw_1_1_u_i_element" id="r_ad3360842adfd2298d4d505305250a6eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#ad3360842adfd2298d4d505305250a6eb">OnMouseLeftButtonUp</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:ad3360842adfd2298d4d505305250a6eb inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_LBUTTONUP时调用该函数  <br /></td></tr>
<tr class="separator:ad3360842adfd2298d4d505305250a6eb inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d1a3049967256fa8306f1364ba209c9 inherit pro_methods_classsw_1_1_u_i_element" id="r_a8d1a3049967256fa8306f1364ba209c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a8d1a3049967256fa8306f1364ba209c9">OnMouseRightButtonDown</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a8d1a3049967256fa8306f1364ba209c9 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_RBUTTONDOWN时调用该函数  <br /></td></tr>
<tr class="separator:a8d1a3049967256fa8306f1364ba209c9 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42ce311746de9bace84a221efeed7e1f inherit pro_methods_classsw_1_1_u_i_element" id="r_a42ce311746de9bace84a221efeed7e1f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a42ce311746de9bace84a221efeed7e1f">OnMouseRightButtonUp</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a42ce311746de9bace84a221efeed7e1f inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_RBUTTONUP时调用该函数  <br /></td></tr>
<tr class="separator:a42ce311746de9bace84a221efeed7e1f inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabbfe747a3396f5cb08e952cd583c825 inherit pro_methods_classsw_1_1_u_i_element" id="r_aabbfe747a3396f5cb08e952cd583c825"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#aabbfe747a3396f5cb08e952cd583c825">OnMouseMiddleButtonDown</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:aabbfe747a3396f5cb08e952cd583c825 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MBUTTONDOWN时调用该函数  <br /></td></tr>
<tr class="separator:aabbfe747a3396f5cb08e952cd583c825 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62da7e785db521278afb58d28e30f4fa inherit pro_methods_classsw_1_1_u_i_element" id="r_a62da7e785db521278afb58d28e30f4fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a62da7e785db521278afb58d28e30f4fa">OnMouseMiddleButtonUp</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a62da7e785db521278afb58d28e30f4fa inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MBUTTONUP时调用该函数  <br /></td></tr>
<tr class="separator:a62da7e785db521278afb58d28e30f4fa inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a656bb4995529a018d8c823fc45abf233 inherit pro_methods_classsw_1_1_u_i_element" id="r_a656bb4995529a018d8c823fc45abf233"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a656bb4995529a018d8c823fc45abf233">OnContextMenu</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> isKeyboardMsg, <a class="el" href="structsw_1_1_point.html">Point</a> mousePosition) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a656bb4995529a018d8c823fc45abf233 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CONTEXTMENU后调用目标控件的该函数  <br /></td></tr>
<tr class="separator:a656bb4995529a018d8c823fc45abf233 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca1d15ee60f06d11aeccadfc92ed23d2 inherit pro_methods_classsw_1_1_u_i_element" id="r_aca1d15ee60f06d11aeccadfc92ed23d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#aca1d15ee60f06d11aeccadfc92ed23d2">OnMenuCommand</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> id) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:aca1d15ee60f06d11aeccadfc92ed23d2 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">当WM_COMMAND接收到菜单命令时调用该函数  <br /></td></tr>
<tr class="separator:aca1d15ee60f06d11aeccadfc92ed23d2 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e16c574d3fc57a9da8ac8d9c2bf1a24 inherit pro_methods_classsw_1_1_u_i_element" id="r_a5e16c574d3fc57a9da8ac8d9c2bf1a24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a5e16c574d3fc57a9da8ac8d9c2bf1a24">OnColor</a> (<a class="el" href="classsw_1_1_dictionary.html">HDC</a> <a class="el" href="classsw_1_1_dictionary.html">hdc</a>, <a class="el" href="classsw_1_1_dictionary.html">HBRUSH</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">hRetBrush</a>) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a5e16c574d3fc57a9da8ac8d9c2bf1a24 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">父窗口接收到WM_CTLCOLORxxx时调用对应控件的该函数  <br /></td></tr>
<tr class="separator:a5e16c574d3fc57a9da8ac8d9c2bf1a24 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6175e146290ecff80407d4c8afa1cf05 inherit pro_methods_classsw_1_1_u_i_element" id="r_a6175e146290ecff80407d4c8afa1cf05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a6175e146290ecff80407d4c8afa1cf05">OnSetCursor</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> hwnd, HitTestResult <a class="el" href="classsw_1_1_dictionary.html">hitTest</a>, <a class="el" href="classsw_1_1_dictionary.html">int</a> <a class="el" href="classsw_1_1_dictionary.html">message</a>, <a class="el" href="classsw_1_1_dictionary.html">bool</a> &amp;result) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a6175e146290ecff80407d4c8afa1cf05 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SETCURSOR消息时调用该函数  <br /></td></tr>
<tr class="separator:a6175e146290ecff80407d4c8afa1cf05 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a331869736475e10e2f861b5a242565 inherit pro_methods_classsw_1_1_u_i_element" id="r_a6a331869736475e10e2f861b5a242565"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_u_i_element.html#a6a331869736475e10e2f861b5a242565">OnDropFiles</a> (<a class="el" href="classsw_1_1_dictionary.html">HDROP</a> hDrop) <a class="el" href="classsw_1_1_dictionary.html">override</a></td></tr>
<tr class="memdesc:a6a331869736475e10e2f861b5a242565 inherit pro_methods_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_DROPFILES时调用该函数  <br /></td></tr>
<tr class="separator:a6a331869736475e10e2f861b5a242565 inherit pro_methods_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classsw_1_1_wnd_base"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pro_methods_classsw_1_1_wnd_base')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classsw_1_1_wnd_base.html">sw::WndBase</a></td></tr>
<tr class="memitem:aab509b68c9c0b612862cf41d8ef685a3 inherit pro_methods_classsw_1_1_wnd_base" id="r_aab509b68c9c0b612862cf41d8ef685a3"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>WndBase</b> ()</td></tr>
<tr class="memdesc:aab509b68c9c0b612862cf41d8ef685a3 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化WndBase <br /></td></tr>
<tr class="separator:aab509b68c9c0b612862cf41d8ef685a3 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39726d256f8a2ba0d3d0f8bc79c1ab96 inherit pro_methods_classsw_1_1_wnd_base" id="r_a39726d256f8a2ba0d3d0f8bc79c1ab96"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>WndBase</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;)=<a class="el" href="classsw_1_1_dictionary.html">delete</a></td></tr>
<tr class="separator:a39726d256f8a2ba0d3d0f8bc79c1ab96 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98bfb3adbc06758e172fe3698151446e inherit pro_methods_classsw_1_1_wnd_base" id="r_a98bfb3adbc06758e172fe3698151446e"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>WndBase</b> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&amp;)=<a class="el" href="classsw_1_1_dictionary.html">delete</a></td></tr>
<tr class="separator:a98bfb3adbc06758e172fe3698151446e inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69ec401ebcb3c062630d8cb4521cb2dc inherit pro_methods_classsw_1_1_wnd_base" id="r_a69ec401ebcb3c062630d8cb4521cb2dc"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;)=<a class="el" href="classsw_1_1_dictionary.html">delete</a></td></tr>
<tr class="separator:a69ec401ebcb3c062630d8cb4521cb2dc inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbd4824ac4898f164a0df2f53986aa86 inherit pro_methods_classsw_1_1_wnd_base" id="r_abbd4824ac4898f164a0df2f53986aa86"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&amp;)=<a class="el" href="classsw_1_1_dictionary.html">delete</a></td></tr>
<tr class="separator:abbd4824ac4898f164a0df2f53986aa86 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4889c45dfad820c103dd7f74f2cd0661 inherit pro_methods_classsw_1_1_wnd_base" id="r_a4889c45dfad820c103dd7f74f2cd0661"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>InitWindow</b> (<a class="el" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="el" href="classsw_1_1_dictionary.html">lpWindowName</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwStyle</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwExStyle</a>)</td></tr>
<tr class="memdesc:a4889c45dfad820c103dd7f74f2cd0661 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化为窗口，该函数会调用CreateWindowExW <br /></td></tr>
<tr class="separator:a4889c45dfad820c103dd7f74f2cd0661 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60707bc74fd7d0599da1ea014cc37b5d inherit pro_methods_classsw_1_1_wnd_base" id="r_a60707bc74fd7d0599da1ea014cc37b5d"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>InitControl</b> (<a class="el" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="el" href="classsw_1_1_dictionary.html">lpClassName</a>, <a class="el" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="el" href="classsw_1_1_dictionary.html">lpWindowName</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwStyle</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwExStyle</a>)</td></tr>
<tr class="memdesc:a60707bc74fd7d0599da1ea014cc37b5d inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化为控件，该函数会调用CreateWindowExW <br /></td></tr>
<tr class="separator:a60707bc74fd7d0599da1ea014cc37b5d inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a585967d861673ea0477f25c1a5c0fb30 inherit pro_methods_classsw_1_1_wnd_base" id="r_a585967d861673ea0477f25c1a5c0fb30"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">LRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>DefaultWndProc</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_proc_msg.html">ProcMsg</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">refMsg</a>)</td></tr>
<tr class="memdesc:a585967d861673ea0477f25c1a5c0fb30 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">调用默认的WndProc，对于窗口则调用DefWindowProcW，控件则调用_controlOldWndProc <br /></td></tr>
<tr class="separator:a585967d861673ea0477f25c1a5c0fb30 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a863b26226e16cf37f7169c6edc96a3b4 inherit pro_methods_classsw_1_1_wnd_base" id="r_a863b26226e16cf37f7169c6edc96a3b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">LRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a863b26226e16cf37f7169c6edc96a3b4">WndProc</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_proc_msg.html">ProcMsg</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">refMsg</a>)</td></tr>
<tr class="memdesc:a863b26226e16cf37f7169c6edc96a3b4 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">对WndProc的封装  <br /></td></tr>
<tr class="separator:a863b26226e16cf37f7169c6edc96a3b4 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a292bd97b5820a1b4e7a38d65e2b609e8 inherit pro_methods_classsw_1_1_wnd_base" id="r_a292bd97b5820a1b4e7a38d65e2b609e8"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>UpdateText</b> ()</td></tr>
<tr class="memdesc:a292bd97b5820a1b4e7a38d65e2b609e8 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新_text字段 <br /></td></tr>
<tr class="separator:a292bd97b5820a1b4e7a38d65e2b609e8 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a888df1f6b89e8da1ba8c7cc8f4671370 inherit pro_methods_classsw_1_1_wnd_base" id="r_a888df1f6b89e8da1ba8c7cc8f4671370"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> std::wstring &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a888df1f6b89e8da1ba8c7cc8f4671370">GetText</a> ()</td></tr>
<tr class="memdesc:a888df1f6b89e8da1ba8c7cc8f4671370 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取窗口文本  <br /></td></tr>
<tr class="separator:a888df1f6b89e8da1ba8c7cc8f4671370 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba0ab3734c3d4c07f3b9bbb029b98edb inherit pro_methods_classsw_1_1_wnd_base" id="r_aba0ab3734c3d4c07f3b9bbb029b98edb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#aba0ab3734c3d4c07f3b9bbb029b98edb">SetText</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> std::wstring &amp;<a class="el" href="classsw_1_1_dictionary.html">value</a>)</td></tr>
<tr class="memdesc:aba0ab3734c3d4c07f3b9bbb029b98edb inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">调用SetWindowTextW设置窗口文本  <br /></td></tr>
<tr class="separator:aba0ab3734c3d4c07f3b9bbb029b98edb inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dd30ab5e8700832140c329739b4b671 inherit pro_methods_classsw_1_1_wnd_base" id="r_a7dd30ab5e8700832140c329739b4b671"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a7dd30ab5e8700832140c329739b4b671">OnCreate</a> ()</td></tr>
<tr class="memdesc:a7dd30ab5e8700832140c329739b4b671 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CREATE时调用该函数  <br /></td></tr>
<tr class="separator:a7dd30ab5e8700832140c329739b4b671 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98d960679d1889998ba548af6a3c8fc4 inherit pro_methods_classsw_1_1_wnd_base" id="r_a98d960679d1889998ba548af6a3c8fc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a98d960679d1889998ba548af6a3c8fc4">OnDestroy</a> ()</td></tr>
<tr class="memdesc:a98d960679d1889998ba548af6a3c8fc4 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_DESTROY时调用该函数  <br /></td></tr>
<tr class="separator:a98d960679d1889998ba548af6a3c8fc4 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a029ba4be0e492f8383f2b5fe22125acb inherit pro_methods_classsw_1_1_wnd_base" id="r_a029ba4be0e492f8383f2b5fe22125acb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a029ba4be0e492f8383f2b5fe22125acb">OnPaint</a> ()</td></tr>
<tr class="memdesc:a029ba4be0e492f8383f2b5fe22125acb inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_PAINT时调用该函数  <br /></td></tr>
<tr class="separator:a029ba4be0e492f8383f2b5fe22125acb inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a8952400bee12db2117fbf76312d373 inherit pro_methods_classsw_1_1_wnd_base" id="r_a5a8952400bee12db2117fbf76312d373"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a5a8952400bee12db2117fbf76312d373">OnMouseLeftButtonDoubleClick</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a5a8952400bee12db2117fbf76312d373 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_LBUTTONDBLCLK时调用该函数  <br /></td></tr>
<tr class="separator:a5a8952400bee12db2117fbf76312d373 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b90855aaaa4556e5ef5fe68e8149669 inherit pro_methods_classsw_1_1_wnd_base" id="r_a5b90855aaaa4556e5ef5fe68e8149669"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a5b90855aaaa4556e5ef5fe68e8149669">OnMouseRightButtonDoubleClick</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a5b90855aaaa4556e5ef5fe68e8149669 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_RBUTTONDBLCLK时调用该函数  <br /></td></tr>
<tr class="separator:a5b90855aaaa4556e5ef5fe68e8149669 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa14c2130ef0fbb656d28c287e401f5 inherit pro_methods_classsw_1_1_wnd_base" id="r_a4aa14c2130ef0fbb656d28c287e401f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a4aa14c2130ef0fbb656d28c287e401f5">OnMouseMiddleButtonDoubleClick</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a4aa14c2130ef0fbb656d28c287e401f5 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MBUTTONDBLCLK时调用该函数  <br /></td></tr>
<tr class="separator:a4aa14c2130ef0fbb656d28c287e401f5 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c72db003eeb8a29565576ad26cc89b8 inherit pro_methods_classsw_1_1_wnd_base" id="r_a4c72db003eeb8a29565576ad26cc89b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a4c72db003eeb8a29565576ad26cc89b8">OnDeadChar</a> (<a class="el" href="classsw_1_1_dictionary.html">wchar_t</a> ch, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:a4c72db003eeb8a29565576ad26cc89b8 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_DEADCHAR时调用该函数  <br /></td></tr>
<tr class="separator:a4c72db003eeb8a29565576ad26cc89b8 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a515de5eb7bc6dbc8314c447a99154c6c inherit pro_methods_classsw_1_1_wnd_base" id="r_a515de5eb7bc6dbc8314c447a99154c6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a515de5eb7bc6dbc8314c447a99154c6c">OnSysChar</a> (<a class="el" href="classsw_1_1_dictionary.html">wchar_t</a> ch, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:a515de5eb7bc6dbc8314c447a99154c6c inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SYSCHAR时调用该函数  <br /></td></tr>
<tr class="separator:a515de5eb7bc6dbc8314c447a99154c6c inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf4e6c0bbc8fddc9e790864e403c5c91 inherit pro_methods_classsw_1_1_wnd_base" id="r_acf4e6c0bbc8fddc9e790864e403c5c91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#acf4e6c0bbc8fddc9e790864e403c5c91">OnSysDeadChar</a> (<a class="el" href="classsw_1_1_dictionary.html">wchar_t</a> ch, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:acf4e6c0bbc8fddc9e790864e403c5c91 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SYSDEADCHAR时调用该函数  <br /></td></tr>
<tr class="separator:acf4e6c0bbc8fddc9e790864e403c5c91 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad63e584926b894913ee1ef4c039a2f98 inherit pro_methods_classsw_1_1_wnd_base" id="r_ad63e584926b894913ee1ef4c039a2f98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#ad63e584926b894913ee1ef4c039a2f98">OnSysKeyDown</a> (VirtualKey key, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:ad63e584926b894913ee1ef4c039a2f98 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SYSKEYDOWN时调用该函数  <br /></td></tr>
<tr class="separator:ad63e584926b894913ee1ef4c039a2f98 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46dafa7371fbef198ee7a38c4aabc632 inherit pro_methods_classsw_1_1_wnd_base" id="r_a46dafa7371fbef198ee7a38c4aabc632"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a46dafa7371fbef198ee7a38c4aabc632">OnSysKeyUp</a> (VirtualKey key, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:a46dafa7371fbef198ee7a38c4aabc632 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SYSKEYUP时调用该函数  <br /></td></tr>
<tr class="separator:a46dafa7371fbef198ee7a38c4aabc632 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69256166096bb51cde45f101c4e9ae95 inherit pro_methods_classsw_1_1_wnd_base" id="r_a69256166096bb51cde45f101c4e9ae95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a69256166096bb51cde45f101c4e9ae95">OnControlCommand</a> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="el" href="classsw_1_1_dictionary.html">pControl</a>, <a class="el" href="classsw_1_1_dictionary.html">int</a> <a class="el" href="classsw_1_1_dictionary.html">code</a>, <a class="el" href="classsw_1_1_dictionary.html">int</a> id)</td></tr>
<tr class="memdesc:a69256166096bb51cde45f101c4e9ae95 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">当WM_COMMAND接收到控件命令时调用该函数  <br /></td></tr>
<tr class="separator:a69256166096bb51cde45f101c4e9ae95 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a935f2bb51b99929ac5166ad52396971a inherit pro_methods_classsw_1_1_wnd_base" id="r_a935f2bb51b99929ac5166ad52396971a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a935f2bb51b99929ac5166ad52396971a">OnAcceleratorCommand</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> id)</td></tr>
<tr class="memdesc:a935f2bb51b99929ac5166ad52396971a inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">当WM_COMMAND接收到快捷键命令时调用该函数  <br /></td></tr>
<tr class="separator:a935f2bb51b99929ac5166ad52396971a inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b368860fef40406c091880fc72f9cbb inherit pro_methods_classsw_1_1_wnd_base" id="r_a4b368860fef40406c091880fc72f9cbb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a4b368860fef40406c091880fc72f9cbb">HandleInitialized</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> hwnd)</td></tr>
<tr class="memdesc:a4b368860fef40406c091880fc72f9cbb inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口句柄初始化完成  <br /></td></tr>
<tr class="separator:a4b368860fef40406c091880fc72f9cbb inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac34494921eed0f67a053a9393d78bcf9 inherit pro_methods_classsw_1_1_wnd_base" id="r_ac34494921eed0f67a053a9393d78bcf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#ac34494921eed0f67a053a9393d78bcf9">FontChanged</a> (<a class="el" href="classsw_1_1_dictionary.html">HFONT</a> <a class="el" href="classsw_1_1_dictionary.html">hfont</a>)</td></tr>
<tr class="memdesc:ac34494921eed0f67a053a9393d78bcf9 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体改变时调用该函数  <br /></td></tr>
<tr class="separator:ac34494921eed0f67a053a9393d78bcf9 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a191f7c32914b029dca7c93e03b4841e0 inherit pro_methods_classsw_1_1_wnd_base" id="r_a191f7c32914b029dca7c93e03b4841e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a191f7c32914b029dca7c93e03b4841e0">OnNotify</a> (<a class="el" href="classsw_1_1_dictionary.html">NMHDR</a> *<a class="el" href="classsw_1_1_dictionary.html">pNMHDR</a>)</td></tr>
<tr class="memdesc:a191f7c32914b029dca7c93e03b4841e0 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_NOTIFY后调用该函数  <br /></td></tr>
<tr class="separator:a191f7c32914b029dca7c93e03b4841e0 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aad533e3d37a7de43645d703dda1a84 inherit pro_methods_classsw_1_1_wnd_base" id="r_a4aad533e3d37a7de43645d703dda1a84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a4aad533e3d37a7de43645d703dda1a84">OnNotified</a> (<a class="el" href="classsw_1_1_dictionary.html">NMHDR</a> *<a class="el" href="classsw_1_1_dictionary.html">pNMHDR</a>)</td></tr>
<tr class="memdesc:a4aad533e3d37a7de43645d703dda1a84 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">父窗口接收到WM_NOTIFY后调用发出通知控件的该函数  <br /></td></tr>
<tr class="separator:a4aad533e3d37a7de43645d703dda1a84 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72a4024b2096ecef4248b1c254b674e2 inherit pro_methods_classsw_1_1_wnd_base" id="r_a72a4024b2096ecef4248b1c254b674e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a72a4024b2096ecef4248b1c254b674e2">OnVerticalScroll</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> event, <a class="el" href="classsw_1_1_dictionary.html">int</a> pos)</td></tr>
<tr class="memdesc:a72a4024b2096ecef4248b1c254b674e2 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_VSCROLL时调用目标控件的该函数  <br /></td></tr>
<tr class="separator:a72a4024b2096ecef4248b1c254b674e2 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6773148b0a9a1fdd3c8a0d8cd54a2fd inherit pro_methods_classsw_1_1_wnd_base" id="r_af6773148b0a9a1fdd3c8a0d8cd54a2fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#af6773148b0a9a1fdd3c8a0d8cd54a2fd">OnHorizontalScroll</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> event, <a class="el" href="classsw_1_1_dictionary.html">int</a> pos)</td></tr>
<tr class="memdesc:af6773148b0a9a1fdd3c8a0d8cd54a2fd inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_HSCROLL时调用目标控件的该函数  <br /></td></tr>
<tr class="separator:af6773148b0a9a1fdd3c8a0d8cd54a2fd inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a755bd826227232fd30ba5fda47bfb060 inherit pro_methods_classsw_1_1_wnd_base" id="r_a755bd826227232fd30ba5fda47bfb060"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a755bd826227232fd30ba5fda47bfb060">OnEnabledChanged</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">newValue</a>)</td></tr>
<tr class="memdesc:a755bd826227232fd30ba5fda47bfb060 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_ENABLE时调用该函数  <br /></td></tr>
<tr class="separator:a755bd826227232fd30ba5fda47bfb060 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa04cd83e79c42d21127799e573d9f299 inherit pro_methods_classsw_1_1_wnd_base" id="r_aa04cd83e79c42d21127799e573d9f299"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#aa04cd83e79c42d21127799e573d9f299">OnCtlColor</a> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="el" href="classsw_1_1_dictionary.html">pControl</a>, <a class="el" href="classsw_1_1_dictionary.html">HDC</a> <a class="el" href="classsw_1_1_dictionary.html">hdc</a>, <a class="el" href="classsw_1_1_dictionary.html">HBRUSH</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">hRetBrush</a>)</td></tr>
<tr class="memdesc:aa04cd83e79c42d21127799e573d9f299 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CTLCOLORxxx时调用该函数  <br /></td></tr>
<tr class="separator:aa04cd83e79c42d21127799e573d9f299 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1445af2018a8e840a25a7487da22c51b inherit pro_methods_classsw_1_1_wnd_base" id="r_a1445af2018a8e840a25a7487da22c51b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a1445af2018a8e840a25a7487da22c51b">OnNcHitTest</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">testPoint</a>, HitTestResult &amp;result)</td></tr>
<tr class="memdesc:a1445af2018a8e840a25a7487da22c51b inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_NCHITTEST后调用该函数  <br /></td></tr>
<tr class="separator:a1445af2018a8e840a25a7487da22c51b inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a748fda35e75d416077598f243afe9da1 inherit pro_methods_classsw_1_1_wnd_base" id="r_a748fda35e75d416077598f243afe9da1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a748fda35e75d416077598f243afe9da1">OnEraseBackground</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> &amp;result)</td></tr>
<tr class="memdesc:a748fda35e75d416077598f243afe9da1 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_ERASEBKGND时调用该函数  <br /></td></tr>
<tr class="separator:a748fda35e75d416077598f243afe9da1 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e9cac4e02b3a420c42968cbf061fd02 inherit pro_methods_classsw_1_1_wnd_base" id="r_a6e9cac4e02b3a420c42968cbf061fd02"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a6e9cac4e02b3a420c42968cbf061fd02">OnDrawItem</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> id, <a class="el" href="classsw_1_1_dictionary.html">DRAWITEMSTRUCT</a> *<a class="el" href="classsw_1_1_dictionary.html">pDrawItem</a>)</td></tr>
<tr class="memdesc:a6e9cac4e02b3a420c42968cbf061fd02 inherit pro_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_DRAWITEM时调用该函数  <br /></td></tr>
<tr class="separator:a6e9cac4e02b3a420c42968cbf061fd02 inherit pro_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_static_methods_classsw_1_1_wnd_base"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_static_methods_classsw_1_1_wnd_base')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="classsw_1_1_wnd_base.html">sw::WndBase</a></td></tr>
<tr class="memitem:a9a3b21d4e5d8c49130deb57695294add inherit pub_static_methods_classsw_1_1_wnd_base" id="r_a9a3b21d4e5d8c49130deb57695294add"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">static</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsw_1_1_wnd_base.html#a9a3b21d4e5d8c49130deb57695294add">GetWndBase</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> hwnd)</td></tr>
<tr class="memdesc:a9a3b21d4e5d8c49130deb57695294add inherit pub_static_methods_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过窗口句柄获取WndBase  <br /></td></tr>
<tr class="separator:a9a3b21d4e5d8c49130deb57695294add inherit pub_static_methods_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classsw_1_1_u_i_element"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_attribs_classsw_1_1_u_i_element')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classsw_1_1_u_i_element.html">sw::UIElement</a></td></tr>
<tr class="memitem:a8fe2c0aebc77409d3fbdefbd79d45a1e inherit pub_attribs_classsw_1_1_u_i_element" id="r_a8fe2c0aebc77409d3fbdefbd79d45a1e"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="structsw_1_1_thickness.html">Thickness</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Margin</b></td></tr>
<tr class="memdesc:a8fe2c0aebc77409d3fbdefbd79d45a1e inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">边距 <br /></td></tr>
<tr class="separator:a8fe2c0aebc77409d3fbdefbd79d45a1e inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05b569383791dce14d9d6789e3a43d85 inherit pub_attribs_classsw_1_1_u_i_element" id="r_a05b569383791dce14d9d6789e3a43d85"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; HorizontalAlignment &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>HorizontalAlignment</b></td></tr>
<tr class="memdesc:a05b569383791dce14d9d6789e3a43d85 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">水平对齐方式 <br /></td></tr>
<tr class="separator:a05b569383791dce14d9d6789e3a43d85 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9f49244beb6b854b436e8bbd18f4e21 inherit pub_attribs_classsw_1_1_u_i_element" id="r_ad9f49244beb6b854b436e8bbd18f4e21"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; VerticalAlignment &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>VerticalAlignment</b></td></tr>
<tr class="memdesc:ad9f49244beb6b854b436e8bbd18f4e21 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">垂直对齐方式 <br /></td></tr>
<tr class="separator:ad9f49244beb6b854b436e8bbd18f4e21 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c452519bad920ad9b91f9610ea202e0 inherit pub_attribs_classsw_1_1_u_i_element" id="r_a5c452519bad920ad9b91f9610ea202e0"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">int</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ChildCount</b></td></tr>
<tr class="memdesc:a5c452519bad920ad9b91f9610ea202e0 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">子控件数量 <br /></td></tr>
<tr class="separator:a5c452519bad920ad9b91f9610ea202e0 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a952e87aef0f2dfdec6bd98e944b6d891 inherit pub_attribs_classsw_1_1_u_i_element" id="r_a952e87aef0f2dfdec6bd98e944b6d891"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>CollapseWhenHide</b></td></tr>
<tr class="memdesc:a952e87aef0f2dfdec6bd98e944b6d891 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否在不可见时不参与布局 <br /></td></tr>
<tr class="separator:a952e87aef0f2dfdec6bd98e944b6d891 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad825a0e12b75238b13f422f47ddf292b inherit pub_attribs_classsw_1_1_u_i_element" id="r_ad825a0e12b75238b13f422f47ddf292b"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_u_i_element.html">UIElement</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Parent</b></td></tr>
<tr class="memdesc:ad825a0e12b75238b13f422f47ddf292b inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">指向父元素的指针，当前元素为顶级窗口时该值为nullptr <br /></td></tr>
<tr class="separator:ad825a0e12b75238b13f422f47ddf292b inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a895d79a2fa53382a43b3d02dee195360 inherit pub_attribs_classsw_1_1_u_i_element" id="r_a895d79a2fa53382a43b3d02dee195360"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">uint64_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Tag</b></td></tr>
<tr class="memdesc:a895d79a2fa53382a43b3d02dee195360 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">储存用户自定义信息的标记 <br /></td></tr>
<tr class="separator:a895d79a2fa53382a43b3d02dee195360 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70e870fcabb76b1d74c06d50637f4f92 inherit pub_attribs_classsw_1_1_u_i_element" id="r_a70e870fcabb76b1d74c06d50637f4f92"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">uint64_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>LayoutTag</b></td></tr>
<tr class="memdesc:a70e870fcabb76b1d74c06d50637f4f92 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">布局标记，对于不同的布局有不同含义 <br /></td></tr>
<tr class="separator:a70e870fcabb76b1d74c06d50637f4f92 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5706cc9d6ef3fab9176ccded231b99e inherit pub_attribs_classsw_1_1_u_i_element" id="r_ae5706cc9d6ef3fab9176ccded231b99e"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_context_menu.html">sw::ContextMenu</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ContextMenu</b></td></tr>
<tr class="memdesc:ae5706cc9d6ef3fab9176ccded231b99e inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">右键按下时弹出的菜单 <br /></td></tr>
<tr class="separator:ae5706cc9d6ef3fab9176ccded231b99e inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0d66604bc2dd555c37688135878a7f0 inherit pub_attribs_classsw_1_1_u_i_element" id="r_ac0d66604bc2dd555c37688135878a7f0"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Float</b></td></tr>
<tr class="memdesc:ac0d66604bc2dd555c37688135878a7f0 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">元素是否悬浮，若元素悬浮则该元素不会随滚动条滚动而改变位置 <br /></td></tr>
<tr class="separator:ac0d66604bc2dd555c37688135878a7f0 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b54e00e1e41af2a634ad694da3ffa98 inherit pub_attribs_classsw_1_1_u_i_element" id="r_a2b54e00e1e41af2a634ad694da3ffa98"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>TabStop</b></td></tr>
<tr class="memdesc:a2b54e00e1e41af2a634ad694da3ffa98 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示用户是否可以通过按下Tab键将焦点移动到当前元素 <br /></td></tr>
<tr class="separator:a2b54e00e1e41af2a634ad694da3ffa98 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf6897b58dc2899c37a3b395bfe124b9 inherit pub_attribs_classsw_1_1_u_i_element" id="r_aaf6897b58dc2899c37a3b395bfe124b9"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="structsw_1_1_color.html">Color</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>BackColor</b></td></tr>
<tr class="memdesc:aaf6897b58dc2899c37a3b395bfe124b9 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">背景颜色，修改该属性会同时将Transparent属性设为false，对于部分控件该属性可能不生效 <br /></td></tr>
<tr class="separator:aaf6897b58dc2899c37a3b395bfe124b9 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaf2381fdffd82bd41e90c1a2cf69022 inherit pub_attribs_classsw_1_1_u_i_element" id="r_aeaf2381fdffd82bd41e90c1a2cf69022"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="structsw_1_1_color.html">Color</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>TextColor</b></td></tr>
<tr class="memdesc:aeaf2381fdffd82bd41e90c1a2cf69022 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">文本颜色，修改该属性会同时将InheritTextColor属性设为false，对于部分控件该属性可能不生效 <br /></td></tr>
<tr class="separator:aeaf2381fdffd82bd41e90c1a2cf69022 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9d544a538ca2cfa3d022da61e7637e5 inherit pub_attribs_classsw_1_1_u_i_element" id="r_aa9d544a538ca2cfa3d022da61e7637e5"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Transparent</b></td></tr>
<tr class="memdesc:aa9d544a538ca2cfa3d022da61e7637e5 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否使用透明背景（此属性并非真正意义上的透明，将该属性设为true可继承父元素的背景颜色） <br /></td></tr>
<tr class="separator:aa9d544a538ca2cfa3d022da61e7637e5 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7da2f416b1ed5038d8a3a59d6e44fcf5 inherit pub_attribs_classsw_1_1_u_i_element" id="r_a7da2f416b1ed5038d8a3a59d6e44fcf5"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>InheritTextColor</b></td></tr>
<tr class="memdesc:a7da2f416b1ed5038d8a3a59d6e44fcf5 inherit pub_attribs_classsw_1_1_u_i_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否继承父元素的文本颜色 <br /></td></tr>
<tr class="separator:a7da2f416b1ed5038d8a3a59d6e44fcf5 inherit pub_attribs_classsw_1_1_u_i_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classsw_1_1_wnd_base"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_attribs_classsw_1_1_wnd_base')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classsw_1_1_wnd_base.html">sw::WndBase</a></td></tr>
<tr class="memitem:abc0b653ccc071c2cfcba42fa8eef738f inherit pub_attribs_classsw_1_1_wnd_base" id="r_abc0b653ccc071c2cfcba42fa8eef738f"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">HWND</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Handle</b></td></tr>
<tr class="memdesc:abc0b653ccc071c2cfcba42fa8eef738f inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口句柄 <br /></td></tr>
<tr class="separator:abc0b653ccc071c2cfcba42fa8eef738f inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a529436cd730fc39ad2875728cdfe4a51 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a529436cd730fc39ad2875728cdfe4a51"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_font.html">sw::Font</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Font</b></td></tr>
<tr class="memdesc:a529436cd730fc39ad2875728cdfe4a51 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体 <br /></td></tr>
<tr class="separator:a529436cd730fc39ad2875728cdfe4a51 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72a604f374bba1e6c34b5d5e56cd26f0 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a72a604f374bba1e6c34b5d5e56cd26f0"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; std::wstring &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FontName</b></td></tr>
<tr class="memdesc:a72a604f374bba1e6c34b5d5e56cd26f0 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体名称 <br /></td></tr>
<tr class="separator:a72a604f374bba1e6c34b5d5e56cd26f0 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac49c6452ceb4950dd581189615753b0c inherit pub_attribs_classsw_1_1_wnd_base" id="r_ac49c6452ceb4950dd581189615753b0c"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FontSize</b></td></tr>
<tr class="memdesc:ac49c6452ceb4950dd581189615753b0c inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体大小 <br /></td></tr>
<tr class="separator:ac49c6452ceb4950dd581189615753b0c inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50e006e69f07abb4e6ba381121abcd22 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a50e006e69f07abb4e6ba381121abcd22"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; sw::FontWeight &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FontWeight</b></td></tr>
<tr class="memdesc:a50e006e69f07abb4e6ba381121abcd22 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体粗细 <br /></td></tr>
<tr class="separator:a50e006e69f07abb4e6ba381121abcd22 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7598603457217f09aae0deaad59ef063 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a7598603457217f09aae0deaad59ef063"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="structsw_1_1_rect.html">sw::Rect</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Rect</b></td></tr>
<tr class="memdesc:a7598603457217f09aae0deaad59ef063 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">位置和尺寸 <br /></td></tr>
<tr class="separator:a7598603457217f09aae0deaad59ef063 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f0b57de9babc053c655872ed91468dd inherit pub_attribs_classsw_1_1_wnd_base" id="r_a4f0b57de9babc053c655872ed91468dd"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Left</b></td></tr>
<tr class="memdesc:a4f0b57de9babc053c655872ed91468dd inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">左边 <br /></td></tr>
<tr class="separator:a4f0b57de9babc053c655872ed91468dd inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dbe3776aeb038659f0a290fbe1dc6d7 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a6dbe3776aeb038659f0a290fbe1dc6d7"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Top</b></td></tr>
<tr class="memdesc:a6dbe3776aeb038659f0a290fbe1dc6d7 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">顶边 <br /></td></tr>
<tr class="separator:a6dbe3776aeb038659f0a290fbe1dc6d7 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a445edbe5db50a5a4486ddff98e8ffbae inherit pub_attribs_classsw_1_1_wnd_base" id="r_a445edbe5db50a5a4486ddff98e8ffbae"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Width</b></td></tr>
<tr class="memdesc:a445edbe5db50a5a4486ddff98e8ffbae inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">宽度 <br /></td></tr>
<tr class="separator:a445edbe5db50a5a4486ddff98e8ffbae inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51fdc4b943e62bd67ffbff4a6e65de2a inherit pub_attribs_classsw_1_1_wnd_base" id="r_a51fdc4b943e62bd67ffbff4a6e65de2a"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Height</b></td></tr>
<tr class="memdesc:a51fdc4b943e62bd67ffbff4a6e65de2a inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">高度 <br /></td></tr>
<tr class="separator:a51fdc4b943e62bd67ffbff4a6e65de2a inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0126115c0626d137ba3e7b0a5c8d793b inherit pub_attribs_classsw_1_1_wnd_base" id="r_a0126115c0626d137ba3e7b0a5c8d793b"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="structsw_1_1_rect.html">sw::Rect</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ClientRect</b></td></tr>
<tr class="memdesc:a0126115c0626d137ba3e7b0a5c8d793b inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">用户区尺寸 <br /></td></tr>
<tr class="separator:a0126115c0626d137ba3e7b0a5c8d793b inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97898f967c916e67c152c69f4c7c6cd6 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a97898f967c916e67c152c69f4c7c6cd6"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ClientWidth</b></td></tr>
<tr class="memdesc:a97898f967c916e67c152c69f4c7c6cd6 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">用户区宽度 <br /></td></tr>
<tr class="separator:a97898f967c916e67c152c69f4c7c6cd6 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4030b80afd9e81e3046ccd5ec94ec83f inherit pub_attribs_classsw_1_1_wnd_base" id="r_a4030b80afd9e81e3046ccd5ec94ec83f"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ClientHeight</b></td></tr>
<tr class="memdesc:a4030b80afd9e81e3046ccd5ec94ec83f inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">用户区高度 <br /></td></tr>
<tr class="separator:a4030b80afd9e81e3046ccd5ec94ec83f inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5e7d8d1a548315b3e709151f71766b3 inherit pub_attribs_classsw_1_1_wnd_base" id="r_ad5e7d8d1a548315b3e709151f71766b3"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Enabled</b></td></tr>
<tr class="memdesc:ad5e7d8d1a548315b3e709151f71766b3 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口或控件是否可用 <br /></td></tr>
<tr class="separator:ad5e7d8d1a548315b3e709151f71766b3 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a808f5d6fd407e3b65cff88f1873bd754 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a808f5d6fd407e3b65cff88f1873bd754"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Visible</b></td></tr>
<tr class="memdesc:a808f5d6fd407e3b65cff88f1873bd754 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口或控件是否可见 <br /></td></tr>
<tr class="separator:a808f5d6fd407e3b65cff88f1873bd754 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9afff86d32e9b54cccc204ef29a85891 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a9afff86d32e9b54cccc204ef29a85891"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; std::wstring &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Text</b></td></tr>
<tr class="memdesc:a9afff86d32e9b54cccc204ef29a85891 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口标题或控件文本 <br /></td></tr>
<tr class="separator:a9afff86d32e9b54cccc204ef29a85891 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71498b3ad8ae548fd7f4a531a6b70982 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a71498b3ad8ae548fd7f4a531a6b70982"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Focused</b></td></tr>
<tr class="memdesc:a71498b3ad8ae548fd7f4a531a6b70982 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口是否拥有焦点 <br /></td></tr>
<tr class="separator:a71498b3ad8ae548fd7f4a531a6b70982 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bda583e7535a89b8b5bd327c1f32ccd inherit pub_attribs_classsw_1_1_wnd_base" id="r_a7bda583e7535a89b8b5bd327c1f32ccd"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Parent</b></td></tr>
<tr class="memdesc:a7bda583e7535a89b8b5bd327c1f32ccd inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">父窗口 <br /></td></tr>
<tr class="separator:a7bda583e7535a89b8b5bd327c1f32ccd inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54aa973b24b4bc4b681ac2c21a50d204 inherit pub_attribs_classsw_1_1_wnd_base" id="r_a54aa973b24b4bc4b681ac2c21a50d204"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>IsDestroyed</b></td></tr>
<tr class="memdesc:a54aa973b24b4bc4b681ac2c21a50d204 inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否已销毁，当该值为true时不应该继续使用当前对象 <br /></td></tr>
<tr class="separator:a54aa973b24b4bc4b681ac2c21a50d204 inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b324f78290554d0c08bf6f33cdb5fd inherit pub_attribs_classsw_1_1_wnd_base" id="r_a43b324f78290554d0c08bf6f33cdb5fd"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>AcceptFiles</b></td></tr>
<tr class="memdesc:a43b324f78290554d0c08bf6f33cdb5fd inherit pub_attribs_classsw_1_1_wnd_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否接受拖放文件 <br /></td></tr>
<tr class="separator:a43b324f78290554d0c08bf6f33cdb5fd inherit pub_attribs_classsw_1_1_wnd_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>按钮 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a496b008fab7266676831e3473353537d" name="a496b008fab7266676831e3473353537d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a496b008fab7266676831e3473353537d">&#9670;&#160;</a></span>OnDrawFocusRect()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::Button::OnDrawFocusRect </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>绘制虚线框时调用该函数 </p>

<p>重载 <a class="el" href="classsw_1_1_u_i_element.html#a78d190af4c3b1768776db0ebd6d0d71a">sw::UIElement</a> .</p>

</div>
</div>
<a id="a7c8ac08e29b2b2294047949bfc025891" name="a7c8ac08e29b2b2294047949bfc025891"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c8ac08e29b2b2294047949bfc025891">&#9670;&#160;</a></span>OnKeyDown()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::Button::OnKeyDown </td>
          <td>(</td>
          <td class="paramtype">VirtualKey</td>          <td class="paramname"><span class="paramname"><em>key</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_KEYDOWN时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>虚拟按键 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>重载 <a class="el" href="classsw_1_1_u_i_element.html#ab7adb46425947c0b14b3bc5b60f6fdac">sw::UIElement</a> .</p>

</div>
</div>
<a id="a367d1dfa43e065dbe2a0272d4cfef458" name="a367d1dfa43e065dbe2a0272d4cfef458"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a367d1dfa43e065dbe2a0272d4cfef458">&#9670;&#160;</a></span>OnKillFocus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::Button::OnKillFocus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HWND</a></td>          <td class="paramname"><span class="paramname"><em>hNextFocus</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_KILLFOCUS时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hNextFocus</td><td>接收到焦点的hwnd，可能为NULL </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>重载 <a class="el" href="classsw_1_1_u_i_element.html#a6b8833ac8fe8798edd0480f737aea426">sw::UIElement</a> .</p>

</div>
</div>
<a id="a7ef48914988a2c38835ff09dee5c5040" name="a7ef48914988a2c38835ff09dee5c5040"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ef48914988a2c38835ff09dee5c5040">&#9670;&#160;</a></span>OnSetFocus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::Button::OnSetFocus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HWND</a></td>          <td class="paramname"><span class="paramname"><em>hPreFocus</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_SETFOCUS时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hPreFocus</td><td>丢失焦点的hwnd，可能为NULL </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>重载 <a class="el" href="classsw_1_1_u_i_element.html#a95c6eb88c9f93bb135da9ee303ada3be">sw::UIElement</a> .</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li><a class="el" href="_button_8h_source.html">Button.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>sw</b></li><li class="navelem"><a class="el" href="classsw_1_1_button.html">Button</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
